Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111391054
D39726.id120751.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
957 B
Referenced Files
None
Subscribers
None
D39726.id120751.diff
View Options
diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c
--- a/sbin/fdisk/fdisk.c
+++ b/sbin/fdisk/fdisk.c
@@ -449,7 +449,7 @@
}
static void
-usage()
+usage(void)
{
fprintf(stderr, "%s%s",
"usage: fdisk [-BIaipqstu] [-b bootcode] [-1234] [disk]\n",
@@ -610,7 +610,7 @@
}
static void
-print_params()
+print_params(void)
{
printf("parameters extracted from in-core disklabel are:\n");
printf("cylinders=%d heads=%d sectors/track=%d (%d blks/cyl)\n\n"
@@ -661,14 +661,14 @@
}
static void
-change_code()
+change_code(void)
{
if (ok("Do you want to change the boot code?"))
init_boot();
}
void
-get_params_to_use()
+get_params_to_use(void)
{
int tmp;
print_params();
@@ -807,7 +807,7 @@
}
static int
-get_params()
+get_params(void)
{
int error;
u_int u;
@@ -845,7 +845,7 @@
}
static int
-read_s0()
+read_s0(void)
{
int i;
@@ -874,7 +874,7 @@
}
static int
-write_s0()
+write_s0(void)
{
int sector, i;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 4, 4:54 AM (13 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16961992
Default Alt Text
D39726.id120751.diff (957 B)
Attached To
Mode
D39726: fdisk: Use valid prototypes for function declarations with no arguments.
Attached
Detach File
Event Timeline
Log In to Comment