add sys/time.h, prototype for select needs it.
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 23 Feb 1991 07:15:46 +0000 (23:15 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 23 Feb 1991 07:15:46 +0000 (23:15 -0800)
SCCS-vsn: include/unistd.h 5.2

usr/src/include/unistd.h

index 21d5704..e346eba 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)unistd.h    5.1 (Berkeley) %G%
+ *     @(#)unistd.h    5.2 (Berkeley) %G%
  */
 
 #include <sys/cdefs.h>
  */
 
 #include <sys/cdefs.h>
@@ -77,13 +77,15 @@ ssize_t              write __P((int, const void *, size_t));
 
 #ifndef        _POSIX_SOURCE
 
 
 #ifndef        _POSIX_SOURCE
 
+/* structure timeval required for select() */
+#include <sys/time.h>
+
+/* structure qelem required for insque() and remque() */
 struct qelem {
        struct  qelem *q_forw;
        struct  qelem *q_back;
        char    q_data[1];      /* arbitrary amount of data */
 };
 struct qelem {
        struct  qelem *q_forw;
        struct  qelem *q_back;
        char    q_data[1];      /* arbitrary amount of data */
 };
-void    insque __P((struct qelem *, struct qelem *));
-void    remque __P((struct qelem *));
 
 int     acct __P((const char *));
 int     async_daemon __P((void));
 
 int     acct __P((const char *));
 int     async_daemon __P((void));
@@ -110,11 +112,13 @@ char      *getpass __P((const char *));
 char   *getusershell __P((void));
 char   *getwd __P((char *));                   /* obsoleted by getcwd() */
 int     initgroups __P((const char *, int));
 char   *getusershell __P((void));
 char   *getwd __P((char *));                   /* obsoleted by getcwd() */
 int     initgroups __P((const char *, int));
+void    insque __P((struct qelem *, struct qelem *));
 int     mknod __P((const char *, mode_t, dev_t));
 int     mkstemp __P((char *));
 char   *mktemp __P((char *));
 int     nfssvc __P((int));
 int     nice __P((int));
 int     mknod __P((const char *, mode_t, dev_t));
 int     mkstemp __P((char *));
 char   *mktemp __P((char *));
 int     nfssvc __P((int));
 int     nice __P((int));
+int     psignal __P((u_int, const char *));
 int     profil __P((char *, int, int, int));
 int     rcmd __P((char **, int, const char *,
                const char *, const char *, int *));
 int     profil __P((char *, int, int, int));
 int     rcmd __P((char **, int, const char *,
                const char *, const char *, int *));
@@ -122,6 +126,7 @@ char        *re_comp __P((const char *));
 int     re_exec __P((const char *));
 int     readlink __P((const char *, char *, int));
 int     reboot __P((int));
 int     re_exec __P((const char *));
 int     readlink __P((const char *, char *, int));
 int     reboot __P((int));
+void    remque __P((struct qelem *));
 int     revoke __P((const char *));
 int     rresvport __P((const int *));
 int     ruserok __P((const char *, int, const char *, const char *));
 int     revoke __P((const char *));
 int     rresvport __P((const int *));
 int     ruserok __P((const char *, int, const char *, const char *));