portability for Sony NEWS workstations
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Thu, 22 Jul 1993 00:09:02 +0000 (16:09 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Thu, 22 Jul 1993 00:09:02 +0000 (16:09 -0800)
SCCS-vsn: usr.sbin/sendmail/src/READ_ME 8.8
SCCS-vsn: usr.sbin/sendmail/src/clock.c 8.4

usr/src/usr.sbin/sendmail/src/READ_ME
usr/src/usr.sbin/sendmail/src/clock.c

index 82fd727..eb25f54 100644 (file)
@@ -4,7 +4,7 @@
 #
 # %sccs.include.redist.sh%
 #
 #
 # %sccs.include.redist.sh%
 #
-#      @(#)READ_ME     8.7 (Berkeley) %G%
+#      @(#)READ_ME     8.8 (Berkeley) %G%
 #
 
 This directory contains the source files for sendmail.
 #
 
 This directory contains the source files for sendmail.
@@ -87,6 +87,9 @@ GIDSET_T      The type of entries in a gidset passed as the second
                This will make a difference, so it is important to get
                this right!  However, it is only an issue if you have
                group sets.
                This will make a difference, so it is important to get
                this right!  However, it is only an issue if you have
                group sets.
+SLEEP_T                The type returned by the system sleep() function.
+               Defaults to "unsigned int".  Don't worry about this
+               if you don't have compilation problems.
 LA_TYPE                The type of load average your kernel supports.  These
                can be LA_SUBR (4) if you have the getloadavg(3) routine,
                LA_FLOAT (3) if you read kmem and interpret the value
 LA_TYPE                The type of load average your kernel supports.  These
                can be LA_SUBR (4) if you have the getloadavg(3) routine,
                LA_FLOAT (3) if you read kmem and interpret the value
@@ -229,4 +232,4 @@ version.c   The version number and information about this
 
 Eric Allman
 
 
 Eric Allman
 
-(Version 8.7, last update %G% 19:24:36)
+(Version 8.8, last update %G% 09:09:00)
index ee091e0..aa7d8b7 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)clock.c    8.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)clock.c    8.4 (Berkeley) %G%";
 #endif /* not lint */
 
 # include "sendmail.h"
 #endif /* not lint */
 
 # include "sendmail.h"
@@ -220,7 +220,11 @@ tick()
 static bool    SleepDone;
 static int     endsleep();
 
 static bool    SleepDone;
 static int     endsleep();
 
-unsigned int
+#ifndef SLEEP_T
+# define SLEEP_T       unsigned int
+#endif
+
+SLEEP_T
 sleep(intvl)
        unsigned int intvl;
 {
 sleep(intvl)
        unsigned int intvl;
 {