Author: kevans
Date: Mon Apr 27 16:09:03 2020
New Revision: 360382
URL: https://svnweb.freebsd.org/changeset/base/360382

Log:
  dtc: fix the -fno-common build
  
  This is a direct commit to stable/12, as GPL dtc has been removed in head.
  
  -fno-common will become the default in GCC10/LLVM11.

Modified:
  stable/12/contrib/dtc/dtc-lexer.l

Modified: stable/12/contrib/dtc/dtc-lexer.l
==============================================================================
--- stable/12/contrib/dtc/dtc-lexer.l   Mon Apr 27 15:59:34 2020        
(r360381)
+++ stable/12/contrib/dtc/dtc-lexer.l   Mon Apr 27 16:09:03 2020        
(r360382)
@@ -42,7 +42,7 @@ LINECOMMENT   "//".*\n
 YY_BUFFER_STATE include_stack[MAX_INCLUDE_NESTING];
 int include_stack_pointer = 0;
 
-YYLTYPE yylloc;
+extern YYLTYPE yylloc;
 extern bool treesource_error;
 
 /* CAUTION: this will stop working if we ever use yyless() or yyunput() */
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to