Add copyright
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 6 Jun 1985 04:44:40 +0000 (20:44 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 6 Jun 1985 04:44:40 +0000 (20:44 -0800)
SCCS-vsn: lib/libc/gen/alarm.c 5.1
SCCS-vsn: lib/libc/stdlib/atoi.c 5.1
SCCS-vsn: lib/libc/stdlib/atol.c 5.1
SCCS-vsn: lib/libc/stdlib/calloc.c 5.1
SCCS-vsn: lib/libc/gen/crypt.c 5.1
SCCS-vsn: lib/libc/gen/ctime.c 5.1
SCCS-vsn: lib/libc/locale/ctype.c 5.1
SCCS-vsn: lib/libc/gen/exec.c 5.1
SCCS-vsn: lib/libc/stdio/fakcu.c 5.1
SCCS-vsn: lib/libc/gen/frexp.c 5.1
SCCS-vsn: lib/libcompat/4.3/gcvt.c 5.1
SCCS-vsn: lib/libc/stdlib/getenv.c 5.1
SCCS-vsn: lib/libc/gen/getgrent.c 5.1
SCCS-vsn: lib/libc/gen/getgrgid.c 5.1
SCCS-vsn: lib/libc/gen/getgrnam.c 5.1
SCCS-vsn: lib/libc/gen/getlogin.c 5.1
SCCS-vsn: lib/libc/gen/getpass.c 5.1
SCCS-vsn: lib/libc/gen/getpwent.c 5.1
SCCS-vsn: lib/libc/gen/getpwnam.c 5.1
SCCS-vsn: lib/libc/gen/getpwuid.c 5.1
SCCS-vsn: lib/libc/string/index.c 5.1
SCCS-vsn: lib/libc/gen/isatty.c 5.1
SCCS-vsn: lib/libc/stdio/mktemp.c 5.1
SCCS-vsn: lib/libc/gen/popen.c 5.2
SCCS-vsn: lib/libc/stdlib/qsort.c 5.1
SCCS-vsn: lib/libc/string/rindex.c 5.1
SCCS-vsn: lib/libc/gen/setegid.c 5.1
SCCS-vsn: lib/libc/gen/seteuid.c 5.1
SCCS-vsn: lib/libc/gen/setgid.c 5.1
SCCS-vsn: lib/libc/compat-43/setrgid.c 5.1
SCCS-vsn: lib/libc/compat-43/setruid.c 5.1
SCCS-vsn: lib/libc/gen/setuid.c 5.1
SCCS-vsn: lib/libc/gen/siginterrupt.c 5.1
SCCS-vsn: lib/libc/gen/signal.c 5.1
SCCS-vsn: lib/libc/string/strcat.c 5.1
SCCS-vsn: lib/libc/string/strcmp.c 5.1
SCCS-vsn: lib/libc/string/strcpy.c 5.1
SCCS-vsn: lib/libc/string/strlen.c 5.1
SCCS-vsn: lib/libc/string/strncat.c 5.1
SCCS-vsn: lib/libc/string/strncmp.c 5.1
SCCS-vsn: lib/libc/string/strncpy.c 5.1
SCCS-vsn: lib/libc/string/swab.c 5.2
SCCS-vsn: lib/libc/stdlib/system.c 5.1
SCCS-vsn: lib/libc/gen/ttyname.c 5.1
SCCS-vsn: lib/libc/gen/ttyslot.c 5.1
SCCS-vsn: lib/libc/gen/ualarm.c 5.1
SCCS-vsn: lib/libc/gen/usleep.c 5.1
SCCS-vsn: lib/libc/gen/getlogin.c 5.1
SCCS-vsn: lib/libc/stdio/clrerr.c 5.1
SCCS-vsn: lib/libc/stdio/data.c 5.1
SCCS-vsn: lib/libc/stdio/vfscanf.c 5.1
SCCS-vsn: lib/libc/stdlib/exit.c 5.1
SCCS-vsn: lib/libc/stdio/fgetc.c 5.1
SCCS-vsn: lib/libc/stdio/fgets.c 5.1
SCCS-vsn: lib/libc/stdio/fputc.c 5.1
SCCS-vsn: lib/libc/stdio/fputs.c 5.1
SCCS-vsn: lib/libc/stdio/fseek.c 5.1
SCCS-vsn: lib/libc/stdio/ftell.c 5.1
SCCS-vsn: lib/libc/stdio/getchar.c 5.1
SCCS-vsn: lib/libc/stdio/gets.c 5.1
SCCS-vsn: lib/libc/stdio/getw.c 5.1
SCCS-vsn: lib/libc/stdio/printf.c 5.1
SCCS-vsn: lib/libc/stdio/putchar.c 5.1
SCCS-vsn: lib/libc/stdio/puts.c 5.1
SCCS-vsn: lib/libc/stdio/putw.c 5.1
SCCS-vsn: lib/libc/stdio/rdwr.c 5.1
SCCS-vsn: lib/libc/stdio/rewind.c 5.1
SCCS-vsn: lib/libc/stdio/scanf.c 5.1
SCCS-vsn: lib/libcompat/4.3/sibuf.c 5.1
SCCS-vsn: lib/libcompat/4.3/sobuf.c 5.1
SCCS-vsn: lib/libc/stdio/sprintf.c 5.1
SCCS-vsn: lib/libcompat/4.3/strout.c 5.1
SCCS-vsn: lib/libc/stdio/ungetc.c 5.1

72 files changed:
usr/src/lib/libc/compat-43/setrgid.c
usr/src/lib/libc/compat-43/setruid.c
usr/src/lib/libc/gen/alarm.c
usr/src/lib/libc/gen/crypt.c
usr/src/lib/libc/gen/ctime.c
usr/src/lib/libc/gen/exec.c
usr/src/lib/libc/gen/frexp.c
usr/src/lib/libc/gen/getgrent.c
usr/src/lib/libc/gen/getgrgid.c
usr/src/lib/libc/gen/getgrnam.c
usr/src/lib/libc/gen/getlogin.c
usr/src/lib/libc/gen/getpass.c
usr/src/lib/libc/gen/getpwent.c
usr/src/lib/libc/gen/getpwnam.c
usr/src/lib/libc/gen/getpwuid.c
usr/src/lib/libc/gen/isatty.c
usr/src/lib/libc/gen/popen.c
usr/src/lib/libc/gen/setegid.c
usr/src/lib/libc/gen/seteuid.c
usr/src/lib/libc/gen/setgid.c
usr/src/lib/libc/gen/setuid.c
usr/src/lib/libc/gen/siginterrupt.c
usr/src/lib/libc/gen/signal.c
usr/src/lib/libc/gen/ttyname.c
usr/src/lib/libc/gen/ttyslot.c
usr/src/lib/libc/gen/ualarm.c
usr/src/lib/libc/gen/usleep.c
usr/src/lib/libc/locale/ctype.c
usr/src/lib/libc/stdio/clrerr.c
usr/src/lib/libc/stdio/data.c
usr/src/lib/libc/stdio/fakcu.c
usr/src/lib/libc/stdio/fgetc.c
usr/src/lib/libc/stdio/fgets.c
usr/src/lib/libc/stdio/fputc.c
usr/src/lib/libc/stdio/fputs.c
usr/src/lib/libc/stdio/fseek.c
usr/src/lib/libc/stdio/ftell.c
usr/src/lib/libc/stdio/getchar.c
usr/src/lib/libc/stdio/gets.c
usr/src/lib/libc/stdio/getw.c
usr/src/lib/libc/stdio/mktemp.c
usr/src/lib/libc/stdio/printf.c
usr/src/lib/libc/stdio/putchar.c
usr/src/lib/libc/stdio/puts.c
usr/src/lib/libc/stdio/putw.c
usr/src/lib/libc/stdio/rdwr.c
usr/src/lib/libc/stdio/rewind.c
usr/src/lib/libc/stdio/scanf.c
usr/src/lib/libc/stdio/sprintf.c
usr/src/lib/libc/stdio/ungetc.c
usr/src/lib/libc/stdio/vfscanf.c
usr/src/lib/libc/stdlib/atoi.c
usr/src/lib/libc/stdlib/atol.c
usr/src/lib/libc/stdlib/calloc.c
usr/src/lib/libc/stdlib/exit.c
usr/src/lib/libc/stdlib/getenv.c
usr/src/lib/libc/stdlib/qsort.c
usr/src/lib/libc/stdlib/system.c
usr/src/lib/libc/string/index.c
usr/src/lib/libc/string/rindex.c
usr/src/lib/libc/string/strcat.c
usr/src/lib/libc/string/strcmp.c
usr/src/lib/libc/string/strcpy.c
usr/src/lib/libc/string/strlen.c
usr/src/lib/libc/string/strncat.c
usr/src/lib/libc/string/strncmp.c
usr/src/lib/libc/string/strncpy.c
usr/src/lib/libc/string/swab.c
usr/src/lib/libcompat/4.3/gcvt.c
usr/src/lib/libcompat/4.3/sibuf.c
usr/src/lib/libcompat/4.3/sobuf.c
usr/src/lib/libcompat/4.3/strout.c

index 9f58718..292fdd1 100644 (file)
@@ -1,4 +1,12 @@
-/*     setrgid.c       4.1     83/06/30        */
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)setrgid.c  5.1 (Berkeley) %G%";
+#endif not lint
 
 setrgid(rgid)
        int rgid;
 
 setrgid(rgid)
        int rgid;
index 6855991..7f75c28 100644 (file)
@@ -1,4 +1,12 @@
-/*     setruid.c       4.1     83/06/30        */
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)setruid.c  5.1 (Berkeley) %G%";
+#endif not lint
 
 setruid(ruid)
        int ruid;
 
 setruid(ruid)
        int ruid;
index d01af73..dc1b54c 100644 (file)
@@ -1,4 +1,12 @@
-/*     alarm.c 4.2     84/03/22        */
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)alarm.c    5.1 (Berkeley) %G%";
+#endif not lint
 
 /*
  * Backwards compatible alarm.
 
 /*
  * Backwards compatible alarm.
index 8c28686..3b8774e 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)crypt.c 4.2 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)crypt.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * This program implements the
  * Proposed Federal Information Processing
 /*
  * This program implements the
  * Proposed Federal Information Processing
index f3e5698..f1ee3af 100644 (file)
@@ -1,6 +1,13 @@
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)ctime.c    4.6 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)ctime.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * This routine converts time as follows.
  * The epoch is 0000 Jan 1 1970 GMT.
 /*
  * This routine converts time as follows.
  * The epoch is 0000 Jan 1 1970 GMT.
index 3efdd19..7a84dba 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)exec.c  4.2 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)exec.c     5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  *     execlp(name, arg,...,0) (like execl, but does path search)
  *     execvp(name, argv)      (like execv, but does path search)
 /*
  *     execlp(name, arg,...,0) (like execl, but does path search)
  *     execvp(name, argv)      (like execv, but does path search)
index 39bb58e..a02be48 100644 (file)
@@ -1,13 +1,16 @@
-/* @(#)frexp.c 4.2 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)frexp.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
 /*
      the call
              x = frexp(arg,&exp);
      must return a double fp quantity x which is <1.0
      and the corresponding binary exponent "exp".
      such that
              arg = x*2^exp
      if the argument is 0.0, return 0.0 mantissa and 0 exponent.
-*/
*     the call
*             x = frexp(arg,&exp);
*     must return a double fp quantity x which is <1.0
*     and the corresponding binary exponent "exp".
*     such that
*             arg = x*2^exp
*     if the argument is 0.0, return 0.0 mantissa and 0 exponent.
+ */
 
 double
 frexp(x,i)
 
 double
 frexp(x,i)
index d4efd41..f161368 100644 (file)
@@ -1,4 +1,6 @@
-/* @(#)getgrent.c      4.3 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)getgrent.c 5.1 (Berkeley) %G%";
+#endif not lint
 
 #include <stdio.h>
 #include <grp.h>
 
 #include <stdio.h>
 #include <grp.h>
index 2c9c9e5..5bec357 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)getgrgid.c      4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)getgrgid.c 5.1 (Berkeley) %G%";
+#endif not lint
+
 #include <grp.h>
 
 struct group *
 #include <grp.h>
 
 struct group *
index 1e68e25..9d28350 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)getgrnam.c      4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)getgrnam.c 5.1 (Berkeley) %G%";
+#endif not lint
+
 #include <grp.h>
 
 struct group *
 #include <grp.h>
 
 struct group *
index f59dcb9..fc47dab 100644 (file)
@@ -1,4 +1,6 @@
-/*     getlogin.c      4.3     84/04/27        */
+#ifndef lint
+static char sccsid[] = "@(#)getlogin.c 5.1 (Berkeley) %G%";
+#endif not lint
 
 #include <utmp.h>
 
 
 #include <utmp.h>
 
index 5ad2a29..eabafcf 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)getpass.c       4.3 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)getpass.c  5.1 (Berkeley) %G%";
+#endif not lint
+
 #include <stdio.h>
 #include <signal.h>
 #include <sgtty.h>
 #include <stdio.h>
 #include <signal.h>
 #include <sgtty.h>
index 0999a2c..cb10537 100644 (file)
@@ -1,4 +1,13 @@
-/* @(#)getpwent.c      4.6 (Berkeley) 85/01/21 */
+/*
+ * Copyright (c) 1984 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)getpwent.c 5.1 (Berkeley) %G%";
+#endif not lint
+
 #include <stdio.h>
 #include <pwd.h>
 #include <ndbm.h>
 #include <stdio.h>
 #include <pwd.h>
 #include <ndbm.h>
index 8dba432..a6acc8f 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)getpwnam.c      4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)getpwnam.c 5.1 (Berkeley) %G%";
+#endif not lint
+
 #include <pwd.h>
 
 struct passwd *
 #include <pwd.h>
 
 struct passwd *
index eb558c9..dfc12e6 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)getpwuid.c      4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)getpwuid.c 5.1 (Berkeley) %G%";
+#endif not lint
+
 #include <pwd.h>
 
 struct passwd *
 #include <pwd.h>
 
 struct passwd *
index 715e883..aac840a 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)isatty.c        4.2 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)isatty.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * Returns 1 iff file is a tty
  */
 /*
  * Returns 1 iff file is a tty
  */
index d8a2d5d..7e0d441 100644 (file)
@@ -1,4 +1,12 @@
-/* @(#)popen.c 5.1 (Berkeley) %G% */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)popen.c    5.2 (Berkeley) %G%";
+#endif not lint
 
 #include <stdio.h>
 #include <signal.h>
 
 #include <stdio.h>
 #include <signal.h>
index 26950a8..711e7cc 100644 (file)
@@ -1,4 +1,12 @@
-/*     setegid.c       4.1     83/06/30        */
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)setegid.c  5.1 (Berkeley) %G%";
+#endif not lint
 
 setegid(egid)
        int egid;
 
 setegid(egid)
        int egid;
index 22246f7..44deb23 100644 (file)
@@ -1,4 +1,12 @@
-/*     seteuid.c       4.1     83/06/30        */
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)seteuid.c  5.1 (Berkeley) %G%";
+#endif not lint
 
 seteuid(euid)
        int euid;
 
 seteuid(euid)
        int euid;
index f5d3a9e..cca0b43 100644 (file)
@@ -1,4 +1,12 @@
-/*     setgid.c        4.1     83/06/30        */
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)setgid.c   5.1 (Berkeley) %G%";
+#endif not lint
 
 /*
  * Backwards compatible setgid.
 
 /*
  * Backwards compatible setgid.
index 0b8ce08..86e8abb 100644 (file)
@@ -1,4 +1,12 @@
-/*     setuid.c        4.1     83/06/30        */
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)setuid.c   5.1 (Berkeley) %G%";
+#endif not lint
 
 /*
  * Backwards compatible setuid.
 
 /*
  * Backwards compatible setuid.
index 58b6182..73ec6e6 100644 (file)
@@ -1,4 +1,12 @@
-/*     siginterrupt.c  4.1     85/03/11        */
+/*
+ * Copyright (c) 1985 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)siginterrupt.c     5.1 (Berkeley) %G%";
+#endif not lint
 
 #include <signal.h>
 
 
 #include <signal.h>
 
index 72f62ae..ddec42c 100644 (file)
@@ -1,4 +1,12 @@
-/*     signal.c        4.3     85/03/11        */
+/*
+ * Copyright (c) 1985 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)signal.c   5.1 (Berkeley) %G%";
+#endif not lint
 
 /*
  * Almost backwards compatible signal.
 
 /*
  * Almost backwards compatible signal.
index 09cb76a..d31e570 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)ttyname.c       4.3 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)ttyname.c  5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * ttyname(f): return "/dev/ttyXX" which the the name of the
  * tty belonging to file f.
 /*
  * ttyname(f): return "/dev/ttyXX" which the the name of the
  * tty belonging to file f.
index b754f2c..0f55762 100644 (file)
@@ -1,4 +1,12 @@
-/* @(#)ttyslot.c       4.4 (Berkeley) %G% */
+/*
+ * Copyright (c) 1984 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)ttyslot.c  5.1 (Berkeley) %G%";
+#endif not lint
 
 /*
  * Return the number of the slot in the utmp file
 
 /*
  * Return the number of the slot in the utmp file
index 1e2c64a..d3f4127 100644 (file)
@@ -1,4 +1,12 @@
-/* @(#)ualarm.c        1.1     (Berkeley)      %G% */
+/*
+ * Copyright (c) 1985 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)ualarm.c   5.1 (Berkeley) %G%";
+#endif not lint
 
 #include <sys/time.h>
 
 
 #include <sys/time.h>
 
index 47c7086..cd5927b 100644 (file)
@@ -1,6 +1,12 @@
+/*
+ * Copyright (c) 1985 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)usleep.c   1.1 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)usleep.c   5.1 (Berkeley) %G%";
+#endif not lint
 
 #include <sys/time.h>
 #include <signal.h>
 
 #include <sys/time.h>
 #include <signal.h>
index b53f94c..3d65c57 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)ctype.c 4.4 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)ctype.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 #include       <ctype.h>
 
 char _ctype_[1 + 256] = {
 #include       <ctype.h>
 
 char _ctype_[1 + 256] = {
index 2e86f34..f00f05e 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)clrerr.c        4.2 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)clrerr.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 #include <stdio.h>
 #undef clearerr
 
 #include <stdio.h>
 #undef clearerr
 
index a204cb0..3210e1b 100644 (file)
@@ -1,4 +1,13 @@
-/* @(#)data.c  4.3 (Berkeley) %G% */
+/*
+ * Copyright (c) 1985 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)data.c     5.1 (Berkeley) %G%";
+#endif not lint
+
 #include <stdio.h>
 #include <sys/param.h>
 
 #include <stdio.h>
 #include <sys/param.h>
 
index 898d334..d9db114 100644 (file)
@@ -1,4 +1,6 @@
-/* @(#)fakcu.c 4.1 (Berkeley) 84/11/13 */
+#ifndef lint
+static char sccsid[] = "@(#)fakcu.c    5.1 (Berkeley) %G%";
+#endif not lint
 
 /*
  * Null cleanup routine to resolve reference in exit() 
 
 /*
  * Null cleanup routine to resolve reference in exit() 
index 0c0f2f6..62bc415 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)fgetc.c 4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)fgetc.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 #include <stdio.h>
 
 fgetc(fp)
 #include <stdio.h>
 
 fgetc(fp)
index d0cf13b..9b136d0 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)fgets.c 4.2 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)fgets.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 #include       <stdio.h>
 
 char *
 #include       <stdio.h>
 
 char *
index b23c29d..9bf2ab4 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)fputc.c 4.2 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)fputc.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 #include <stdio.h>
 
 fputc(c, fp)
 #include <stdio.h>
 
 fputc(c, fp)
index 290dfbf..8054142 100644 (file)
@@ -1,4 +1,13 @@
-/* @(#)fputs.c 4.3 (Berkeley) %G% */
+/*
+ * Copyright (c) 1984 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)fputs.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 #include       <stdio.h>
 
 fputs(s, iop)
 #include       <stdio.h>
 
 fputs(s, iop)
index 0550b64..f863285 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)fseek.c 4.4 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)fseek.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * Seek for standard library.  Coordinates with buffering.
  */
 /*
  * Seek for standard library.  Coordinates with buffering.
  */
index f00c757..f6bdcc9 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)ftell.c 4.3 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)ftell.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * Return file offset.
  * Coordinates with buffering.
 /*
  * Return file offset.
  * Coordinates with buffering.
index dcd1b02..d92935b 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)getchar.c       4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)getchar.c  5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * A subroutine version of the macro getchar.
  */
 /*
  * A subroutine version of the macro getchar.
  */
index 32265e3..428662c 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)gets.c  4.2 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)gets.c     5.1 (Berkeley) %G%";
+#endif not lint
+
 #include       <stdio.h>
 
 char *
 #include       <stdio.h>
 
 char *
index f6d6174..c9cd9d0 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)getw.c  4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)getw.c     5.1 (Berkeley) %G%";
+#endif not lint
+
 #include <stdio.h>
 
 getw(iop)
 #include <stdio.h>
 
 getw(iop)
index c866f01..e8fa25b 100644 (file)
@@ -1,4 +1,6 @@
-/*     mktemp.c        4.1     83/06/22        */
+#ifndef lint
+static char sccsid[] = "@(#)mktemp.c   5.1 (Berkeley) %G%";
+#endif not lint
 
 char *
 mktemp(as)
 
 char *
 mktemp(as)
index 7703802..a06cbda 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)printf.c        4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)printf.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 #include       <stdio.h>
 
 printf(fmt, args)
 #include       <stdio.h>
 
 printf(fmt, args)
index 78334f1..d23300c 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)putchar.c       4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)putchar.c  5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * A subroutine version of the macro putchar
  */
 /*
  * A subroutine version of the macro putchar
  */
index ad66e89..bf7f320 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)puts.c  4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)puts.c     5.1 (Berkeley) %G%";
+#endif not lint
+
 #include       <stdio.h>
 
 puts(s)
 #include       <stdio.h>
 
 puts(s)
index 6be2804..53e6a16 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)putw.c  4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)putw.c     5.1 (Berkeley) %G%";
+#endif not lint
+
 #include <stdio.h>
 
 putw(w, iop)
 #include <stdio.h>
 
 putw(w, iop)
index 78fb1c0..251a3d4 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)rdwr.c  4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)rdwr.c     5.1 (Berkeley) %G%";
+#endif not lint
+
 #include       <stdio.h>
 
 fread(ptr, size, count, iop)
 #include       <stdio.h>
 
 fread(ptr, size, count, iop)
index c949534..b02a6a7 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)rewind.c        4.3 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)rewind.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 #include       <stdio.h>
 
 rewind(iop)
 #include       <stdio.h>
 
 rewind(iop)
index 92410a9..7d8ab94 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)scanf.c 4.2 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)scanf.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 #include       <stdio.h>
 
 scanf(fmt, args)
 #include       <stdio.h>
 
 scanf(fmt, args)
index 92ab8eb..aaccc0f 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)sprintf.c       4.2 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)sprintf.c  5.1 (Berkeley) %G%";
+#endif not lint
+
 #include       <stdio.h>
 
 char *sprintf(str, fmt, args)
 #include       <stdio.h>
 
 char *sprintf(str, fmt, args)
index ea145c3..e7a1c90 100644 (file)
@@ -1,4 +1,6 @@
-/*     ungetc.c        4.3     85/02/13        */
+#ifndef lint
+static char sccsid[] = "@(#)ungetc.c   5.1 (Berkeley) %G%";
+#endif not lint
 
 #include <stdio.h>
 
 
 #include <stdio.h>
 
index cfc9c7e..b8ed520 100644 (file)
@@ -1,6 +1,7 @@
-static char sccsid[] = "@(#)vfscanf.c  4.3     (Berkeley)      85/02/13";
+#ifndef lint
+static char sccsid[] = "@(#)vfscanf.c  5.1 (Berkeley) %G%";
+#endif not lint
 
 
-/* @(#)doscan.c        4.1 (Berkeley) 12/21/80 */
 #include <stdio.h>
 #include       <ctype.h>
 
 #include <stdio.h>
 #include       <ctype.h>
 
index e382eb7..0b0b2ac 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)atoi.c  4.3 (Berkeley) 81/02/28 */
+#ifndef lint
+static char sccsid[] = "@(#)atoi.c     5.1 (Berkeley) %G%";
+#endif not lint
+
 atoi(p)
 register char *p;
 {
 atoi(p)
 register char *p;
 {
index 1a451e1..5f0875a 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)atol.c  4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)atol.c     5.1 (Berkeley) %G%";
+#endif not lint
+
 long
 atol(p)
 register char *p;
 long
 atol(p)
 register char *p;
index 6aa20e9..7222329 100644 (file)
@@ -1,4 +1,6 @@
-/* @(#)calloc.c        4.2 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)calloc.c   5.1 (Berkeley) %G%";
+#endif not lint
 
 /*
  * Calloc - allocate and clear memory block
 
 /*
  * Calloc - allocate and clear memory block
index 137f08b..5ef0611 100644 (file)
@@ -1,4 +1,6 @@
-/*     exit.c  1.1     83/06/23        */
+#ifndef lint
+static char sccsid[] = "@(#)exit.c     5.1 (Berkeley) %G%";
+#endif not lint
 
 exit(code)
        int code;
 
 exit(code)
        int code;
index 0b40e10..4ebc24d 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)getenv.c        4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)getenv.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  *     getenv(name)
  *     returns ptr to value associated with name, if any, else NULL
 /*
  *     getenv(name)
  *     returns ptr to value associated with name, if any, else NULL
index 740f45f..79ed4f2 100644 (file)
@@ -1,4 +1,12 @@
-/* @(#)qsort.c 4.2 (Berkeley) %G% */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)qsort.c    5.1 (Berkeley) %G%";
+#endif not lint
 
 /*
  * qsort.c:
 
 /*
  * qsort.c:
index c135052..8d5c8ea 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)system.c        4.2 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)system.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 #include       <signal.h>
 
 system(s)
 #include       <signal.h>
 
 system(s)
index 4f81747..a9263fc 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)index.c 4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)index.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * Return the ptr in sp at which the character c appears;
  * NULL if not found
 /*
  * Return the ptr in sp at which the character c appears;
  * NULL if not found
index 49c7788..6bb45ee 100644 (file)
@@ -1,8 +1,11 @@
-/* @(#)rindex.c        4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)rindex.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * Return the ptr in sp at which the character c last
  * appears; NULL if not found
 /*
  * Return the ptr in sp at which the character c last
  * appears; NULL if not found
-*/
+ */
 
 #define NULL 0
 
 
 #define NULL 0
 
index b9d4eef..4ca2c46 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)strcat.c        4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)strcat.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * Concatenate s2 on the end of s1.  S1's space must be large enough.
  * Return s1.
 /*
  * Concatenate s2 on the end of s1.  S1's space must be large enough.
  * Return s1.
index 5a0f5d4..900129c 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)strcmp.c        4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)strcmp.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * Compare strings:  s1>s2: >0  s1==s2: 0  s1<s2: <0
  */
 /*
  * Compare strings:  s1>s2: >0  s1==s2: 0  s1<s2: <0
  */
index ee666c8..56f8472 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)strcpy.c        4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)strcpy.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * Copy string s2 to s1.  s1 must be large enough.
  * return s1
 /*
  * Copy string s2 to s1.  s1 must be large enough.
  * return s1
index e8634a5..e6b5929 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)strlen.c        4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)strlen.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * Returns the number of
  * non-NULL bytes in string argument.
 /*
  * Returns the number of
  * non-NULL bytes in string argument.
index f88d8cd..734adc8 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)strncat.c       4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)strncat.c  5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * Concatenate s2 on the end of s1.  S1's space must be large enough.
  * At most n characters are moved.
 /*
  * Concatenate s2 on the end of s1.  S1's space must be large enough.
  * At most n characters are moved.
index f1c8b40..e5ec5ac 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)strncmp.c       4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)strncmp.c  5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * Compare strings (at most n bytes):  s1>s2: >0  s1==s2: 0  s1<s2: <0
  */
 /*
  * Compare strings (at most n bytes):  s1>s2: >0  s1==s2: 0  s1<s2: <0
  */
index cc1964d..2dbfc01 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)strncpy.c       4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)strncpy.c  5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * Copy s2 to s1, truncating or null-padding to always copy n bytes
  * return s1
 /*
  * Copy s2 to s1, truncating or null-padding to always copy n bytes
  * return s1
index 76807d7..bf1ff94 100644 (file)
@@ -1,4 +1,6 @@
-/*     swab.c  5.1     85/05/30        */
+#ifndef lint
+static char sccsid[] = "@(#)swab.c     5.2 (Berkeley) %G%";
+#endif not lint
 
 /*
  * Swab bytes
 
 /*
  * Swab bytes
index a7cf695..9c1b898 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)gcvt.c  4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)gcvt.c     5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * gcvt  - Floating output conversion to
  * minimal length string
 /*
  * gcvt  - Floating output conversion to
  * minimal length string
index 7e16457..5b15fb9 100644 (file)
@@ -1,4 +1,6 @@
-/* @(#)sibuf.c 4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)sibuf.c    5.1 (Berkeley) %G%";
+#endif not lint
 
 #include <stdio.h>
 
 
 #include <stdio.h>
 
index 2029ee7..61bcd95 100644 (file)
@@ -1,4 +1,6 @@
-/* @(#)sobuf.c 4.1 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)sobuf.c    5.1 (Berkeley) %G%";
+#endif not lint
 
 #include <stdio.h>
 
 
 #include <stdio.h>
 
index 52e84ab..b361b38 100644 (file)
@@ -1,4 +1,7 @@
-/* @(#)strout.c        4.2 (Berkeley) %G% */
+#ifndef lint
+static char sccsid[] = "@(#)strout.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 #include       <stdio.h>
 
 _strout(count, string, adjust, file, fillch)
 #include       <stdio.h>
 
 _strout(count, string, adjust, file, fillch)