aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck
diff options
context:
space:
mode:
authorTom Rhodes <trhodes@FreeBSD.org>2003-10-29 16:09:17 +0000
committerTom Rhodes <trhodes@FreeBSD.org>2003-10-29 16:09:17 +0000
commitff7e70a9abe7dc797690a9894ff8380b4d7c1ec5 (patch)
tree9799b4b0832b250fb2c424daae3ed9ecc2c0b21a /sbin/fsck
parentb3aeaf2ed1f76690a8ec2b3a7260d92b90aa6c68 (diff)
downloadsrc-ff7e70a9abe7dc797690a9894ff8380b4d7c1ec5.tar.gz
src-ff7e70a9abe7dc797690a9894ff8380b4d7c1ec5.zip
Remove redundant declaration of the perror() function, it's provided by stdio.h.
Don't define DKTYPENAMES without using it.
Notes
Notes: svn path=/head/; revision=121689
Diffstat (limited to 'sbin/fsck')
-rw-r--r--sbin/fsck/fsck.c1
-rw-r--r--sbin/fsck/fsutil.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/sbin/fsck/fsck.c b/sbin/fsck/fsck.c
index fe4e5a315e2b..291cd3780224 100644
--- a/sbin/fsck/fsck.c
+++ b/sbin/fsck/fsck.c
@@ -46,7 +46,6 @@ __FBSDID("$FreeBSD$");
#include <sys/queue.h>
#include <sys/wait.h>
#define FSTYPENAMES
-#define DKTYPENAMES
#include <sys/disklabel.h>
#include <sys/ioctl.h>
diff --git a/sbin/fsck/fsutil.h b/sbin/fsck/fsutil.h
index 3950f551ab99..bad9a1db8a90 100644
--- a/sbin/fsck/fsutil.h
+++ b/sbin/fsck/fsutil.h
@@ -31,7 +31,6 @@
* $FreeBSD$
*/
-void perror(const char *);
void errexit(const char *, ...)
__attribute__((__noreturn__,__format__(__printf__,1,2)));
void pfatal(const char *, ...)