diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-15 09:35:48 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-15 09:35:48 +0000 |
commit | 5b474e8d5e1ca69027dbd7e533cd244f5befda74 (patch) | |
tree | bf318ec27c1a6182746b4f6fe122e50e670a3f9d /sbin | |
parent | 5dc260d581553b6702f8c76425cfd24bbbd868b5 (diff) |
Make usage declaration match prototype; Make it __dead also.
ok otto@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/newfs/newfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c index c6a555dac98..4c667e1413c 100644 --- a/sbin/newfs/newfs.c +++ b/sbin/newfs/newfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newfs.c,v 1.59 2007/04/13 20:08:30 millert Exp $ */ +/* $OpenBSD: newfs.c,v 1.60 2007/05/15 09:35:47 thib Exp $ */ /* $NetBSD: newfs.c,v 1.20 1996/05/16 07:13:03 thorpej Exp $ */ /* @@ -78,7 +78,7 @@ struct mntopt mopts[] = { }; void fatal(const char *fmt, ...); -void usage(void); +__dead void usage(void); void mkfs(struct partition *, char *, int, int, mode_t, uid_t, gid_t); void rewritelabel(char *, int, struct disklabel *); u_short dkcksum(struct disklabel *); @@ -652,7 +652,7 @@ fatal(const char *fmt, ...) /*NOTREACHED*/ } -static void +__dead void usage(void) { extern char *__progname; |