diff options
author | Robert de Bath <rdebath@poboxes.com> | 2003-11-02 09:31:19 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:48:49 +0200 |
commit | b5dac1e3bdd01a2ce105df747a9073ff0d6a94e2 (patch) | |
tree | 2ce4628567071bbb680b6c81f40f5fd3192eda02 /cpp/cc.h | |
parent | 22950ba3df3a0b739786243679d69cd4094e8b20 (diff) | |
download | dev86-b5dac1e3bdd01a2ce105df747a9073ff0d6a94e2.tar.gz |
Import Dev86src-0.16.14.tar.gzv0.16.14
Diffstat (limited to 'cpp/cc.h')
-rw-r--r-- | cpp/cc.h | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1,16 +1,16 @@ -#ifndef _P +#ifndef P #if __STDC__ -#define _P(x) x +#define P(x) x #else -#define _P(x) () +#define P(x) () #endif #endif -extern void cfatal _P((char*)); -extern void cerror _P((char*)); -extern void cwarn _P((char*)); -extern FILE * open_include _P((char*, char*, int)); +extern void cfatal P((char*)); +extern void cerror P((char*)); +extern void cwarn P((char*)); +extern FILE * open_include P((char*, char*, int)); extern FILE * curfile; extern char curword[]; @@ -22,11 +22,11 @@ extern int dialect; #define DI_KNR 1 #define DI_ANSI 2 -extern int gettok _P((void)); +extern int gettok P((void)); struct token_trans { char * name; int token; }; -struct token_trans * is_ctok _P((const char *str, unsigned int len)); -struct token_trans * is_ckey _P((const char *str, unsigned int len)); +struct token_trans * is_ctok P((const char *str, unsigned int len)); +struct token_trans * is_ckey P((const char *str, unsigned int len)); #define WORDSIZE 128 #define TK_WSPACE 256 @@ -101,8 +101,8 @@ struct token_trans * is_ckey _P((const char *str, unsigned int len)); #define MAX_INCLUDE 64 /* Nested includes */ #define MAX_DEFINE 64 /* Nested defines */ -extern char * set_entry _P((int,char*,void*)); -extern void * read_entry _P((int,char*)); +extern char * set_entry P((int,char*,void*)); +extern void * read_entry P((int,char*)); struct define_item { |