From 2b6fc908bc368b540845a313c3b8a867c5ad9a42 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 7 Dec 2006 00:25:35 +0100 Subject: Imported from util-linux-2.8 tarball. --- text-utils/ul.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'text-utils/ul.c') 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 to use terminfo instead ** of termcap. @@ -50,6 +40,7 @@ static char sccsid[] = "@(#)ul.c 8.1 (Berkeley) 6/6/93"; #include /* for getopt(), isatty() */ #include /* for bzero() */ #include /* for setupterm() */ +#include /* 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))) -- cgit v1.2.3-55-g7522