f6bb42b4ff
simplify port drastically by removing str* patches, these might be revived one day as an external patch no objections from maintainer
22 lines
507 B
Plaintext
22 lines
507 B
Plaintext
$OpenBSD: patch-src_cflex_c,v 1.3 2007/10/12 20:12:19 sturm Exp $
|
|
--- src/cflex.c.orig Tue May 29 20:07:57 2007
|
|
+++ src/cflex.c Sun Sep 2 16:02:56 2007
|
|
@@ -93,7 +93,7 @@ typedef unsigned int flex_uint32_t;
|
|
|
|
#else /* ! __cplusplus */
|
|
|
|
-#if __STDC__
|
|
+#ifdef __STDC__
|
|
|
|
#define YY_USE_CONST
|
|
|
|
@@ -4556,7 +4556,7 @@ static void yy_load_buffer_state (void)
|
|
}
|
|
|
|
#ifndef __cplusplus
|
|
-extern int isatty (int );
|
|
+#include <unistd.h>
|
|
#endif /* __cplusplus */
|
|
|
|
/* Initializes or reinitializes a buffer.
|