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 /text-utils/ul.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 'text-utils/ul.c')
-rw-r--r-- | text-utils/ul.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/text-utils/ul.c b/text-utils/ul.c index 4d3cf262e..f10d22456 100644 --- a/text-utils/ul.c +++ b/text-utils/ul.c @@ -31,16 +31,6 @@ * SUCH DAMAGE. */ -#ifndef lint -static char copyright[] = -"@(#) Copyright (c) 1980, 1993\n\ - The Regents of the University of California. All rights reserved.\n"; -#endif /* not lint */ - -#ifndef lint -static char sccsid[] = "@(#)ul.c 8.1 (Berkeley) 6/6/93"; -#endif /* not lint */ - /* ** modified by Kars de Jong <jongk@cs.utwente.nl> to use terminfo instead ** of termcap. @@ -50,6 +40,7 @@ static char sccsid[] = "@(#)ul.c 8.1 (Berkeley) 6/6/93"; #include <unistd.h> /* for getopt(), isatty() */ #include <string.h> /* for bzero() */ #include <term.h> /* for setupterm() */ +#include <stdlib.h> /* for getenv() */ void filter(FILE *f); void flushln(void); @@ -103,7 +94,6 @@ int main(int argc, char **argv) int c, ret; char *termtype; FILE *f; - char *getenv(), *strcpy(); termtype = getenv("TERM"); if (termtype == NULL || (argv[0][0] == 'c' && !isatty(1))) |