summaryrefslogtreecommitdiffstats
path: root/sbin/fsck
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2003-10-29 16:09:17 +0000
committertrhodes <trhodes@FreeBSD.org>2003-10-29 16:09:17 +0000
commit198ce303b59578609e7aee2acf563208a00b61fa (patch)
tree9799b4b0832b250fb2c424daae3ed9ecc2c0b21a /sbin/fsck
parentf03fdf4e6f72e03157644c21db247f3b5888b214 (diff)
downloadFreeBSD-src-198ce303b59578609e7aee2acf563208a00b61fa.zip
FreeBSD-src-198ce303b59578609e7aee2acf563208a00b61fa.tar.gz
Remove redundant declaration of the perror() function, it's provided by stdio.h.
Don't define DKTYPENAMES without using it.
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 fe4e5a3..291cd37 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 3950f55..bad9a1d 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 *, ...)
OpenPOWER on IntegriCloud