pike.git / src / global.h

version» Context lines:

pike.git/src/global.h:623:   };   #endif /* !HAVE_STRUCT_IOVEC */      #include "port.h"   #include "dmalloc.h"      /* Either this include must go or the include of threads.h in    * pike_cpulib.h. Otherwise we get pesky include loops. */   /* #include "pike_cpulib.h" */    - #ifdef BUFSIZ - #define PROT_STDIO(x) PROT(x) - #else - #define PROT_STDIO(x) () - #endif -  - #ifdef __STDC__ - #define PROT(x) x - #else - #define PROT(x) () - #endif -  +    #ifdef MALLOC_DECL_MISSING - void *malloc PROT((int)); - void *realloc PROT((void *,int)); - void free PROT((void *)); - void *calloc PROT((int,int)); + void *malloc (int); + void *realloc (void *,int); + void free (void *); + void *calloc (int,int);   #endif      #ifdef GETPEERNAME_DECL_MISSING - int getpeername PROT((int, struct sockaddr *, int *)); + int getpeername (int, struct sockaddr *, int *);   #endif      #ifdef GETHOSTNAME_DECL_MISSING - void gethostname PROT((char *,int)); + void gethostname (char *,int);   #endif      #ifdef POPEN_DECL_MISSING - FILE *popen PROT((char *,char *)); + FILE *popen (char *,char *);   #endif      #ifdef GETENV_DECL_MISSING - char *getenv PROT((char *)); + char *getenv (char *);   #endif      #ifdef USE_CRYPT_C   char *crypt(const char *, const char *);   #endif /* USE_CRYPT_C */      /* If this define is present, error() has been renamed to Pike_error() and    * error.h has been renamed to pike_error.h    * Expect to see other similar defines in the future. -Hubbe    */