diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-10-02 01:16:03 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-10-02 01:16:03 +0000 |
commit | eb8314a3055a8defbec460dee9e94064b0a9e756 (patch) | |
tree | f7efe1d6c472deffc6e6fbf77f280b35d7967dc4 /sbin/disklabel/disklabel.c | |
parent | c94a9b958e52c06995a9e9f4ae375d1ca2d85211 (diff) |
Deal with ^D sanely and kill unused get_yn().
Diffstat (limited to 'sbin/disklabel/disklabel.c')
-rw-r--r-- | sbin/disklabel/disklabel.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c index 07fcbeeb3e1..6654e969ced 100644 --- a/sbin/disklabel/disklabel.c +++ b/sbin/disklabel/disklabel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.c,v 1.40 1997/10/02 00:49:11 millert Exp $ */ +/* $OpenBSD: disklabel.c,v 1.41 1997/10/02 01:16:02 millert Exp $ */ /* $NetBSD: disklabel.c,v 1.30 1996/03/14 19:49:24 ghudson Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char rcsid[] = "$OpenBSD: disklabel.c,v 1.40 1997/10/02 00:49:11 millert Exp $"; +static char rcsid[] = "$OpenBSD: disklabel.c,v 1.41 1997/10/02 01:16:02 millert Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -134,7 +134,6 @@ int checklabel __P((struct disklabel *)); void setbootflag __P((struct disklabel *)); void usage __P((void)); u_short dkcksum __P((struct disklabel *)); -char get_yn __P((char *)); int main(argc, argv) |