Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sbin/disklabel Pull up revisions 1.5-1.6 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/acbe5710dc23
branches:  netbsd-1-5
changeset: 490757:acbe5710dc23
user:      he <he%NetBSD.org@localhost>
date:      Mon Feb 26 22:27:23 2001 +0000

description:
Pull up revisions 1.5-1.6 (requested by lukem):
  Several fixes and enhancements:
  o with ``-I'', initialize the label if it's not there, it's
    corrupt, or there's no ``fake'' label.
  o correct partition table header
  o move some functions into a separate file for other programs
    to use
  o fix examples and cross references
  o various cleanups

diffstat:

 sbin/disklabel/extern.h |  17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r 6af13b67f8f1 -r acbe5710dc23 sbin/disklabel/extern.h
--- a/sbin/disklabel/extern.h   Mon Feb 26 22:27:02 2001 +0000
+++ b/sbin/disklabel/extern.h   Mon Feb 26 22:27:23 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: extern.h,v 1.4 1999/11/26 06:03:10 mrg Exp $   */
+/*     $NetBSD: extern.h,v 1.4.4.1 2001/02/26 22:27:23 he Exp $        */
 
 /*
  * Copyright (c) 1997 Christos Zoulas.  All rights reserved.
@@ -29,9 +29,12 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-int writelabel __P((int, char *, struct disklabel *));
-int checklabel __P((struct disklabel *));
-void showinfo __P((FILE *, struct disklabel *));
-void showpartitions __P((FILE *, struct disklabel *));
-void interact __P((struct disklabel *, int));
-extern char bootarea[];
+int    writelabel(int, const char *, struct disklabel *);
+int    checklabel(struct disklabel *);
+void   showinfo(FILE *, struct disklabel *, const char *);
+void   showpartitions(FILE *, struct disklabel *, int);
+void   interact(struct disklabel *, int);
+
+extern char     bootarea[];
+extern char    *specname;
+extern int      Cflag;



Home | Main Index | Thread Index | Old Index