summaryrefslogtreecommitdiff
path: root/bcc/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'bcc/proto.h')
-rw-r--r--bcc/proto.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/bcc/proto.h b/bcc/proto.h
index e45cf0e..b3e7151 100644
--- a/bcc/proto.h
+++ b/bcc/proto.h
@@ -2,12 +2,6 @@
/* Copyright (C) 1992 Bruce Evans */
-#ifdef __STDC__
-#define P(x) x
-#else
-#define P(x) ()
-#endif
-
/* assign.c */
void assign P((struct symstruct *source, struct symstruct *target));
void cast P((struct typestruct *type, struct symstruct *target));
@@ -371,28 +365,3 @@ struct typestruct *promote P((struct typestruct *type));
struct typestruct *tounsigned P((struct typestruct *type));
void typeinit P((void));
-/* library - fcntl.h */
-int creat P((const char *_path, int _mode));
-int open P((const char *_path, int _oflag, ...));
-
-/* library - stdlib.h */
-double atof P((const char *_str));
-void exit P((int _status));
-
-/* library - string.h */
-void *memcpy P((void *_t, const void *_s, unsigned _length));
-void *memset P((void *_s, int _c, unsigned _nbytes));
-char *strcat P((char *_target, const char *_source));
-char *strchr P((const char *_s, int _ch));
-int strcmp P((const char *_s1, const char *_s2));
-char *strcpy P((char *_target, const char *_source));
-unsigned strlen P((const char *_s));
-char *strncpy P((char *_target, const char *_source, unsigned _maxlength));
-char *strrchr P((const char *_s, int _ch));
-
-/* library - unistd.h */
-int close P((int _fd));
-int isatty P((int _fd));
-long lseek P((int _fd, long _offset, int _whence));
-int read P((int _fd, char *_buf, unsigned _nbytes));
-int write P((int _fd, char *_buf, unsigned _nbytes));