From ff7e70a9abe7dc797690a9894ff8380b4d7c1ec5 Mon Sep 17 00:00:00 2001 From: Tom Rhodes Date: Wed, 29 Oct 2003 16:09:17 +0000 Subject: [PATCH] Remove redundant declaration of the perror() function, it's provided by stdio.h. Don't define DKTYPENAMES without using it. --- sbin/fsck/fsck.c | 1 - sbin/fsck/fsutil.h | 1 - 2 files changed, 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 #include #define FSTYPENAMES -#define DKTYPENAMES #include #include 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 *, ...)