mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121689
@ -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…
Reference in New Issue
Block a user