Remove redundant declaration of the perror() function, it's provided by stdio.h.
Don't define DKTYPENAMES without using it.
This commit is contained in:
parent
b3aeaf2ed1
commit
ff7e70a9ab
@ -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>
|
||||
|
||||
|
@ -31,7 +31,6 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
void perror(const char *);
|
||||
void errexit(const char *, ...)
|
||||
__attribute__((__noreturn__,__format__(__printf__,1,2)));
|
||||
void pfatal(const char *, ...)
|
||||
|
Loading…
x
Reference in New Issue
Block a user