diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-11-12 08:37:59 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-11-12 08:37:59 +0000 |
commit | 3e61a4e2c0e229fa0bc76df53b074b08ba9b31ff (patch) | |
tree | b9117e9e5389db8f185adea91ad24ab3610e8ad5 /usr.sbin/config/mkswap.c | |
parent | d98357435d9a59f31d6340e254e37a3237a150c9 (diff) |
*mountroot protos is in systm.h now
Diffstat (limited to 'usr.sbin/config/mkswap.c')
-rw-r--r-- | usr.sbin/config/mkswap.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/config/mkswap.c b/usr.sbin/config/mkswap.c index 51a1aca0ace..57d58a6b19b 100644 --- a/usr.sbin/config/mkswap.c +++ b/usr.sbin/config/mkswap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkswap.c,v 1.6 1996/11/10 07:57:25 downsj Exp $ */ +/* $OpenBSD: mkswap.c,v 1.7 1996/11/12 08:37:58 niklas Exp $ */ /* $NetBSD: mkswap.c,v 1.5 1996/08/31 20:58:27 mycroft Exp $ */ /* @@ -99,7 +99,8 @@ mkoneswap(cf) } if (fputs("\ #include <sys/param.h>\n\ -#include <sys/conf.h>\n\n", fp) < 0) +#include <sys/conf.h>\n\ +#include <sys/systm.h>\n\n", fp) < 0) goto wrerror; nv = cf->cf_root; if (fprintf(fp, "dev_t\trootdev = %s;\t/* %s */\n", @@ -119,8 +120,6 @@ mkoneswap(cf) goto wrerror; mountroot = cf->cf_root->nv_str == s_nfs ? "nfs_mountroot" : "dk_mountroot"; - if (fprintf(fp, "extern int %s __P((void));\n", mountroot) < 0) - goto wrerror; if (fprintf(fp, "int (*mountroot) __P((void)) = %s;\n", mountroot) < 0) goto wrerror; |