From 198ce303b59578609e7aee2acf563208a00b61fa Mon Sep 17 00:00:00 2001 From: trhodes Date: Wed, 29 Oct 2003 16:09:17 +0000 Subject: 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(-) (limited to 'sbin/fsck') 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 #include #define FSTYPENAMES -#define DKTYPENAMES #include #include 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 *, ...) -- cgit v1.1