mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Write setconf() in KNF, in K&R C, and in Standard C.Standard C.
This commit is contained in:
parent
9d2ccc8e66
commit
51bcc40b35
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user