BSD 4_3_Tahoe release
[unix-history] / usr / src / usr.lib / sendmail / include / useful.h
index 9bf855c..69be096 100644 (file)
@@ -1,11 +1,24 @@
 /*
 /*
-**  USEFUL.H -- Some useful stuff.
-**
-**     @(#)useful.h    3.11            1/4/83
-*/
+ * Copyright (c) 1988 Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ *     @(#)useful.h    4.4 (Berkeley) 6/29/88
+ */
 
 # ifndef makedev
 
 # ifndef makedev
-# include <sys/param.h>
+# include <sys/types.h>
 # endif
 
 /* support for bool type */
 # endif
 
 /* support for bool type */
@@ -51,15 +64,14 @@ extern char *strcat(), *strncat();
 extern char    *malloc();
 extern char    *index(), *rindex();
 extern int     errno;
 extern char    *malloc();
 extern char    *index(), *rindex();
 extern int     errno;
-extern char    *sprintf();
 extern time_t  time();
 extern char    *ctime();
 # ifndef V6
 extern char    *getenv();
 # endif V6
 # ifndef VMUNIX
 extern time_t  time();
 extern char    *ctime();
 # ifndef V6
 extern char    *getenv();
 # endif V6
 # ifndef VMUNIX
-typedef char   *u_short;
-typedef long   u_long;
-typedef char   u_char;
-typedef int    void;
+typedef unsigned short u_short;
+typedef long           u_long;
+typedef char           u_char;
+typedef int            void;
 # endif VMUNIX
 # endif VMUNIX