Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133692111
D29679.id87124.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D29679.id87124.diff
View Options
Index: contrib/flex/src/flex.skl
===================================================================
--- contrib/flex/src/flex.skl
+++ contrib/flex/src/flex.skl
@@ -216,12 +216,6 @@
/* First, we deal with platform-specific or compiler-specific issues. */
-#if defined(__FreeBSD__)
-#include <sys/cdefs.h>
-#else
-#define __dead2
-#endif
-
/* begin standard C headers. */
%if-c-only
#include <stdio.h>
@@ -653,7 +647,7 @@
static yy_state_type yy_get_previous_state ( M4_YY_PROTO_ONLY_ARG );
static yy_state_type yy_try_NUL_trans ( yy_state_type current_state M4_YY_PROTO_LAST_ARG);
static int yy_get_next_buffer ( M4_YY_PROTO_ONLY_ARG );
-static void yynoreturn yy_fatal_error ( const char* msg M4_YY_PROTO_LAST_ARG ) __dead2;
+static void yynoreturn yy_fatal_error ( const char* msg M4_YY_PROTO_LAST_ARG );
]])
%endif
Index: usr.bin/lex/initskel.c
===================================================================
--- usr.bin/lex/initskel.c
+++ usr.bin/lex/initskel.c
@@ -447,15 +447,6 @@
"",
"/* First, we deal with platform-specific or compiler-specific issues. */",
"",
- "#if defined(__FreeBSD__)",
- "#ifndef __STDC_LIMIT_MACROS",
- "#define __STDC_LIMIT_MACROS",
- "#endif",
- "#include <sys/cdefs.h>",
- "#include <stdint.h>",
- "#else",
- "#define __dead2",
- "#endif",
"",
"/* begin standard C headers. */",
"%if-c-only",
@@ -948,7 +939,7 @@
"static yy_state_type yy_get_previous_state ( M4_YY_PROTO_ONLY_ARG );",
"static yy_state_type yy_try_NUL_trans ( yy_state_type current_state M4_YY_PROTO_LAST_ARG);",
"static int yy_get_next_buffer ( M4_YY_PROTO_ONLY_ARG );",
- "static void yynoreturn yy_fatal_error ( const char* msg M4_YY_PROTO_LAST_ARG ) __dead2;",
+ "static void yynoreturn yy_fatal_error ( const char* msg M4_YY_PROTO_LAST_ARG );",
"]])",
"",
"%endif",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Oct 28, 3:44 PM (2 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24361086
Default Alt Text
D29679.id87124.diff (1 KB)
Attached To
Mode
D29679: contrib/flex: Drop local __dead2 patch
Attached
Detach File
Event Timeline
Log In to Comment