diff options
author | Karel Zak | 2006-12-07 00:25:35 +0100 |
---|---|---|
committer | Karel Zak | 2006-12-07 00:25:35 +0100 |
commit | 2b6fc908bc368b540845a313c3b8a867c5ad9a42 (patch) | |
tree | 6fad48a239bc90515a5dc4084d6e3c3ee1f41e29 /login-utils/agetty.c | |
parent | Imported from util-linux-2.7.1 tarball. (diff) | |
download | kernel-qcow2-util-linux-2b6fc908bc368b540845a313c3b8a867c5ad9a42.tar.gz kernel-qcow2-util-linux-2b6fc908bc368b540845a313c3b8a867c5ad9a42.tar.xz kernel-qcow2-util-linux-2b6fc908bc368b540845a313c3b8a867c5ad9a42.zip |
Imported from util-linux-2.8 tarball.
Diffstat (limited to 'login-utils/agetty.c')
-rw-r--r-- | login-utils/agetty.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/login-utils/agetty.c b/login-utils/agetty.c index ba28336b6..039589591 100644 --- a/login-utils/agetty.c +++ b/login-utils/agetty.c @@ -6,13 +6,10 @@ -f option added by Eric Rasmussen <ear@usfirst.org> - 12/28/95 */ -#ifndef lint -char sccsid[] = "@(#) agetty.c 1.29 9/1/91 23:22:00"; -#endif - #include <stdio.h> #include <unistd.h> #include <stdlib.h> +#include <string.h> #include <sys/ioctl.h> #include <termio.h> #include <signal.h> @@ -510,7 +507,6 @@ update_utmp(line) int mypid = getpid(); long time(); long lseek(); - char *strncpy(); struct utmp *utp; /* @@ -1162,9 +1158,6 @@ error(va_alist) char buf[BUFSIZ]; char *bp; - char *strcpy(); - char *strcat(); - /* * If the diagnostic is reported via syslog(3), the process name is * automatically prepended to the message. If we write directly to |