Deleted Added
full compact
bsdlabel.c (59457) bsdlabel.c (65921)
1/*
2 * Copyright (c) 1987, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Symmetric Computer Systems.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 32 unchanged lines hidden (view full) ---

41#endif /* not lint */
42
43#ifndef lint
44#if 0
45static char sccsid[] = "@(#)disklabel.c 8.2 (Berkeley) 1/7/94";
46/* from static char sccsid[] = "@(#)disklabel.c 1.2 (Symmetric) 11/28/85"; */
47#endif
48static const char rcsid[] =
1/*
2 * Copyright (c) 1987, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Symmetric Computer Systems.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 32 unchanged lines hidden (view full) ---

41#endif /* not lint */
42
43#ifndef lint
44#if 0
45static char sccsid[] = "@(#)disklabel.c 8.2 (Berkeley) 1/7/94";
46/* from static char sccsid[] = "@(#)disklabel.c 1.2 (Symmetric) 11/28/85"; */
47#endif
48static const char rcsid[] =
49 "$FreeBSD: head/sbin/bsdlabel/bsdlabel.c 59457 2000-04-21 05:40:05Z obrien $";
49 "$FreeBSD: head/sbin/bsdlabel/bsdlabel.c 65921 2000-09-16 13:43:00Z phk $";
50#endif /* not lint */
51
52#include <sys/param.h>
53#include <sys/file.h>
54#include <sys/stat.h>
55#include <sys/wait.h>
56#define DKTYPENAMES
57#include <sys/disklabel.h>

--- 42 unchanged lines hidden (view full) ---

100int editit __P((void));
101char * skip __P((char *));
102char * word __P((char *));
103int getasciilabel __P((FILE *, struct disklabel *));
104int checklabel __P((struct disklabel *));
105void setbootflag __P((struct disklabel *));
106void Warning (char *, ...);
107void usage __P((void));
50#endif /* not lint */
51
52#include <sys/param.h>
53#include <sys/file.h>
54#include <sys/stat.h>
55#include <sys/wait.h>
56#define DKTYPENAMES
57#include <sys/disklabel.h>

--- 42 unchanged lines hidden (view full) ---

100int editit __P((void));
101char * skip __P((char *));
102char * word __P((char *));
103int getasciilabel __P((FILE *, struct disklabel *));
104int checklabel __P((struct disklabel *));
105void setbootflag __P((struct disklabel *));
106void Warning (char *, ...);
107void usage __P((void));
108extern u_short dkcksum __P((struct disklabel *));
109struct disklabel * getvirginlabel __P((void));
110
111#define DEFEDITOR _PATH_VI
112#define streq(a,b) (strcmp(a,b) == 0)
113
114char *dkname;
115char *specname;
116char tmpfil[] = PATH_TMPFILE;

--- 1344 unchanged lines hidden ---
108struct disklabel * getvirginlabel __P((void));
109
110#define DEFEDITOR _PATH_VI
111#define streq(a,b) (strcmp(a,b) == 0)
112
113char *dkname;
114char *specname;
115char tmpfil[] = PATH_TMPFILE;

--- 1344 unchanged lines hidden ---