projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prettyness police
[unix-history]
/
usr
/
src
/
bin
/
pwd
/
pwd.c
diff --git
a/usr/src/bin/pwd/pwd.c
b/usr/src/bin/pwd/pwd.c
index
33a5eae
..
bf45019
100644
(file)
--- a/
usr/src/bin/pwd/pwd.c
+++ b/
usr/src/bin/pwd/pwd.c
@@
-12,16
+12,12
@@
static char copyright[] =
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)pwd.c 8.
2
(Berkeley) %G%";
+static char sccsid[] = "@(#)pwd.c 8.
3
(Berkeley) %G%";
#endif /* not lint */
#endif /* not lint */
-#include <sys/types.h>
-
#include <err.h>
#include <err.h>
-#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <unistd.h>
void usage __P((void));
#include <unistd.h>
void usage __P((void));
@@
-64,6
+60,7
@@
main(argc, argv)
void
usage()
{
void
usage()
{
+
(void)fprintf(stderr, "usage: pwd\n");
exit(1);
}
(void)fprintf(stderr, "usage: pwd\n");
exit(1);
}