More ANSIfication.

This commit is contained in:
Andrew Johnson
2009-06-05 19:07:24 +00:00
parent ebec683578
commit 84d0a83ba3
3 changed files with 0 additions and 46 deletions

View File

@@ -22,13 +22,8 @@
#include <stdlib.h>
#include <osfcn.h>
/* the "const" storage-class-modifier is valid */
#define YY_USE_CONST
#else /* ! __cplusplus */
#ifdef __STDC__
#ifdef __GNUC__
#include <stddef.h>
void *malloc( size_t );
@@ -37,22 +32,9 @@ void free( void* );
#include <stdlib.h>
#endif /* __GNUC__ */
#define YY_USE_CONST
#endif /* __STDC__ */
#endif /* ! __cplusplus */
#ifdef __TURBOC__
#define YY_USE_CONST
#endif
#ifndef YY_USE_CONST
#define const
#endif
/* amount of stuff to slurp up with each read */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192

View File

@@ -11,15 +11,6 @@
#include <stdio.h>
#include <stdlib.h>
/* the "const" storage-class-modifier is valid */
#define YY_USE_CONST
#ifndef YY_USE_CONST
#define const
#endif
/* amount of stuff to slurp up with each read */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192

View File

@@ -22,13 +22,7 @@
#include <stdlib.h>
#include <osfcn.h>
/* the "const" storage-class-modifier is valid */
#define YY_USE_CONST
#else /* ! __cplusplus */
#ifdef __STDC__
#ifdef __GNUC__
#include <stddef.h>
void *malloc( size_t );
@@ -37,22 +31,9 @@ void free( void* );
#include <stdlib.h>
#endif /* __GNUC__ */
#define YY_USE_CONST
#endif /* __STDC__ */
#endif /* ! __cplusplus */
#ifdef __TURBOC__
#define YY_USE_CONST
#endif
#ifndef YY_USE_CONST
#define const
#endif
/* amount of stuff to slurp up with each read */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192