#define SEEK_SET 0
#define SEEK_CUR 1
-extern PROTO(int, abort,(void));
-extern PROTO(int, close,(int));
-extern PROTO(int, fcntl,(int des, int cmd, int e));
-extern PROTO(int, fprintf,(FILE *,char *,...));
-extern PROTO(int, printf,(char *,...));
-extern PROTO(int, qsort,(void *data,int els, int siz, int func()));
-extern PROTO(void, exit,(int));
-extern PROTO(int, fseek,(FILE*, int, int));
-extern PROTO(int, fclose,(FILE*));
-extern PROTO(void, bcopy,(char*,char*,int));
-extern PROTO(int, bcmp,(char *, char *, int));
-extern PROTO(void, bzero,(char *, int));
-extern PROTO(PTR,memset,(PTR, int,unsigned int));
+extern int EXFUN(abort,(void));
+extern int EXFUN(close,(int));
+extern int EXFUN(fcntl,(int des, int cmd, int e));
+extern int EXFUN(fprintf,(FILE *,char *,...));
+extern int EXFUN(printf,(char *,...));
+extern int EXFUN(qsort,(void *data,int els, int siz, int func()));
+extern void EXFUN(exit,(int));
+extern int EXFUN(fseek,(FILE*, int, int));
+extern int EXFUN(fclose,(FILE*));
+extern void EXFUN(bcopy,(char*,char*,int));
+extern int EXFUN(bcmp,(char *, char *, int));
+extern void EXFUN(bzero,(char *, int));
+extern PTR EXFUN(emset,(PTR, int,unsigned int));
#ifndef __GNUC__
-PROTO(PTR, memcpy,(PTR,CONST PTR,unsigned int));
+PTR EXFUN(memcpy,(PTR,CONST PTR,unsigned int));
#else
/* PROTO(char *, memcpy,(char *,CONST char *,unsigned int)); */
#endif
-extern PROTO(int,getuid,());
-extern PROTO(int,getgid,());
+extern int EXFUN(etuid,());
+extern int EXFUN(etgid,());
extern char * strchr();
-extern PROTO(void, perror,(CONST char *));
+extern void EXFUN(perror,(CONST char *));
extern char *getenv();
extern char *memchr();
extern char *strrchr();
extern int stat();
extern int strtol();
#ifndef DONTDECLARE_MALLOC
-extern PROTO(PTR,malloc,(unsigned));
-extern PROTO(PTR ,realloc, (PTR, unsigned));
+extern PTR EXFUN(alloc,(unsigned));
+extern PTR EXFUN(ealloc, (PTR, unsigned));
#endif
-extern PROTO(int, free,(PTR));
+extern int EXFUN(free,(PTR));
extern char *strrchr();