diff options
-rw-r--r-- | bin/pwd/pwd.c | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/bin/pwd/pwd.c b/bin/pwd/pwd.c index 27888eb..8c2c3dc 100644 --- a/bin/pwd/pwd.c +++ b/bin/pwd/pwd.c @@ -29,20 +29,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -#ifndef lint -__COPYRIGHT("@(#) Copyright (c) 1991, 1993, 1994\ - The Regents of the University of California. All rights reserved."); -#endif /* not lint */ - -#ifndef lint -#if 0 -static char sccsid[] = "@(#)pwd.c 8.3 (Berkeley) 4/1/94"; -#else -__RCSID("$NetBSD: pwd.c,v 1.22 2011/08/29 14:51:19 joerg Exp $"); -#endif -#endif /* not lint */ - #include <sys/param.h> #include <sys/stat.h> #include <sys/types.h> @@ -52,11 +38,12 @@ __RCSID("$NetBSD: pwd.c,v 1.22 2011/08/29 14:51:19 joerg Exp $"); #include <locale.h> #include <stdio.h> #include <stdlib.h> +#include <bsd/stdlib.h> #include <string.h> #include <unistd.h> static char *getcwd_logical(void); -__dead static void usage(void); +static void usage(void); /* * Note that EEE Std 1003.1, 2003 requires that the default be -L. @@ -75,7 +62,7 @@ main(int argc, char *argv[]) setprogname(argv[0]); (void)setlocale(LC_ALL, ""); - lFlag = 0; + lFlag = 1; while ((ch = getopt(argc, argv, "LP")) != -1) { switch (ch) { case 'L': |