From 123bdbe37378b7d332b3c4e4478776d1628b52f2 Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Mon, 26 Mar 1990 16:38:49 +0000 Subject: [PATCH] g++ tweaks --- flex.skl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flex.skl b/flex.skl index 3a7ca90..fe0a567 100644 --- a/flex.skl +++ b/flex.skl @@ -11,7 +11,7 @@ #ifdef __cplusplus #include -#include +#include /* use prototypes in function declarations */ #define YY_USE_PROTOS @@ -37,14 +37,14 @@ #ifdef YY_USE_PROTOS #define YY_PROTO(proto) proto -#ifndef __cplusplus char *malloc( unsigned size ); int free( char * ); -#endif #else #define YY_PROTO(proto) () +/* there's no standard place to get these definitions */ char *malloc(); int free(); +int read(); #endif /* amount of stuff to slurp up with each read */ -- 2.40.0