/sbin: diff --git sbin/Makefile.inc sbin/Makefile.inc index 1b14860..92ca312 100644 --- sbin/Makefile.inc +++ sbin/Makefile.inc @@ -2,3 +2,4 @@ BINDIR?= /sbin LDSTATIC= ${STATIC} +CFLAGS+= -Werror-implicit-function-declaration diff --git sbin/disklabel/editor.c sbin/disklabel/editor.c index ab8d036..a56927a 100644 --- sbin/disklabel/editor.c +++ sbin/disklabel/editor.c @@ -137,8 +137,6 @@ void find_bounds(struct disklabel *); void set_bounds(struct disklabel *); void set_duid(struct disklabel *); struct diskchunk *free_chunks(struct disklabel *); -void mpcopy(char **, char **); -void mpfree(char **); int micmp(const void *, const void *); int mpequal(char **, char **); int get_bsize(struct disklabel *, int); diff --git sbin/disklabel/extern.h sbin/disklabel/extern.h index 05f84f2..c2f64ca 100644 --- sbin/disklabel/extern.h +++ sbin/disklabel/extern.h @@ -32,6 +32,8 @@ struct disklabel *makebootarea(char *, struct disklabel *); int editor(int); void editor_allocspace(struct disklabel *); void mpsave(struct disklabel *); +void mpcopy(char **, char **); +void mpfree(char **); int writelabel(int, char *, struct disklabel *); extern char bootarea[], *specname, *fstabfile;
-- I'm not entirely sure you are real.