summaryrefslogtreecommitdiff
path: root/sbin/disklabel
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2014-07-10 13:31:24 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2014-07-10 13:31:24 +0000
commit26ecd61d34578ba0e12ee3cf3c3fcb9da0c4c2a9 (patch)
treed1a667aa2a48bd95a23f94abb9b970c6689edc6a /sbin/disklabel
parent9db63c1b1fa6d751af4b2bd0d975c4c9de97032e (diff)
Forward declarations for mpcopy & mpfree.
OK miod@, deraadt@
Diffstat (limited to 'sbin/disklabel')
-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;