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…
x
Reference in New Issue
Block a user