diff options
Diffstat (limited to 'gcc/fixinc/tests')
-rw-r--r-- | gcc/fixinc/tests/base/sys/socket.h | 7 | ||||
-rw-r--r-- | gcc/fixinc/tests/base/unistd.h | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/fixinc/tests/base/sys/socket.h b/gcc/fixinc/tests/base/sys/socket.h index 56099a9..0898ed0 100644 --- a/gcc/fixinc/tests/base/sys/socket.h +++ b/gcc/fixinc/tests/base/sys/socket.h @@ -17,3 +17,10 @@ typedef int socklen_t; typedef u_int32_t socklen_t; #endif /* _NO_XOPEN4 && _NO_XOPEN5 */ #endif /* IRIX_SOCKLEN_T_CHECK */ + + +#if defined( SOLARIS_SOCKET_CHECK ) +#ident "@(#)socket.h 1.30 97/01/20 SMI" +extern int recv(int, void *, int, int); +extern int send(int, const void *, int, int); +#endif /* SOLARIS_SOCKET_CHECK */ diff --git a/gcc/fixinc/tests/base/unistd.h b/gcc/fixinc/tests/base/unistd.h index 756451d..5bfb9b9 100644 --- a/gcc/fixinc/tests/base/unistd.h +++ b/gcc/fixinc/tests/base/unistd.h @@ -12,3 +12,12 @@ #if defined( ALPHA_SBRK_CHECK ) extern void *sbrk(ptrdiff_t increment); #endif /* ALPHA_SBRK_CHECK */ + + +#if defined( SOLARIS_UNISTD_CHECK ) +#ident "@(#)unistd.h 1.33 95/08/28 SMI" +extern int getpagesize(); +extern pid_t getpgid(pid_t); +extern int getpagesize(); +extern int getpgid(); +#endif /* SOLARIS_UNISTD_CHECK */ |