summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2014-07-10 13:31:23 +0000
committerflorian <florian@openbsd.org>2014-07-10 13:31:23 +0000
commit5118a4ecd5d0d657db889c049565d2477a1654bd (patch)
treed23e8092fb0d02acd80229643092b2390ed78a88
parentFeatures introduce in OpenSSL 0.9.8 do not deserve their own section. (diff)
downloadwireguard-openbsd-5118a4ecd5d0d657db889c049565d2477a1654bd.tar.xz
wireguard-openbsd-5118a4ecd5d0d657db889c049565d2477a1654bd.zip
Forward declarations for mpcopy & mpfree.
OK miod@, deraadt@
-rw-r--r--sbin/disklabel/editor.c4
-rw-r--r--sbin/disklabel/extern.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c
index ab8d0365d2a..28da5e4f34b 100644
--- a/sbin/disklabel/editor.c
+++ b/sbin/disklabel/editor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: editor.c,v 1.286 2014/05/02 23:17:29 chl Exp $ */
+/* $OpenBSD: editor.c,v 1.287 2014/07/10 13:31:23 florian Exp $ */
/*
* Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -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 a/sbin/disklabel/extern.h b/sbin/disklabel/extern.h
index 05f84f2d7c3..2ddea11139d 100644
--- a/sbin/disklabel/extern.h
+++ b/sbin/disklabel/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.24 2012/07/13 16:06:42 krw Exp $ */
+/* $OpenBSD: extern.h,v 1.25 2014/07/10 13:31:23 florian Exp $ */
/*
* Copyright (c) 2003 Theo de Raadt <deraadt@openbsd.org>
@@ -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;