summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-02-18 21:32:19 +0000
committerbde <bde@FreeBSD.org>1995-02-18 21:32:19 +0000
commit476ac66c48a43ef9a3cbffbe75b6c07a5f978321 (patch)
treec7cc7fde440851da1a504d005b345069dbc322af /usr.sbin/config
parente9644cbcc312031b00c25c9c3492e53aa946f0cf (diff)
downloadFreeBSD-src-476ac66c48a43ef9a3cbffbe75b6c07a5f978321.zip
FreeBSD-src-476ac66c48a43ef9a3cbffbe75b6c07a5f978321.tar.gz
Write setconf() in KNF, in K&R C, and in Standard C.Standard C.
Diffstat (limited to 'usr.sbin/config')
-rw-r--r--usr.sbin/config/mkswapconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/config/mkswapconf.c b/usr.sbin/config/mkswapconf.c
index 4b883a4..cbb97c7 100644
--- a/usr.sbin/config/mkswapconf.c
+++ b/usr.sbin/config/mkswapconf.c
@@ -113,7 +113,7 @@ do_swap(fl)
fprintf(fp, "\t{ NODEV, 0, 0 }\n");
fprintf(fp, "};\n\n");
fprintf(fp, "/* Stub for when generic swap config is not used. */\n");
- fprintf(fp, "void setconf(void) {};\n");
+ fprintf(fp, "void\nsetconf()\n{\n}\n");
fclose(fp);
return (swap);
}
OpenPOWER on IntegriCloud