diff options
| author | he <he@NetBSD.org> | 2012-03-23 14:49:55 +0000 |
|---|---|---|
| committer | he <he@NetBSD.org> | 2012-03-23 14:49:55 +0000 |
| commit | a2b2cbc846c73dee7741ca686b36140524b1a6fe (patch) | |
| tree | a7fb9385c62ca0b9974eeb791652461c4f3cd0f2 /dist | |
| parent | 2aa4b1d557738a2ce018a24b7bd33aec5f435fbb (diff) | |
More c89 prototypes, mostly just filling in void where needed.
Diffstat (limited to 'dist')
| -rw-r--r-- | dist/pdisk/errors.c | 2 | ||||
| -rw-r--r-- | dist/pdisk/io.c | 2 | ||||
| -rw-r--r-- | dist/pdisk/pdisk.c | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/dist/pdisk/errors.c b/dist/pdisk/errors.c index e3e57739de3..ad51a5bcac7 100644 --- a/dist/pdisk/errors.c +++ b/dist/pdisk/errors.c @@ -92,7 +92,7 @@ init_program_name(char **argv) void -do_help() +do_help(void) { printf("\t%s [-h|--help]\n", program_name); printf("\t%s [-v|--version]\n", program_name); diff --git a/dist/pdisk/io.c b/dist/pdisk/io.c index 62b315e7a04..63179c1b81b 100644 --- a/dist/pdisk/io.c +++ b/dist/pdisk/io.c @@ -96,7 +96,7 @@ void my_ungetch(int c); // Routines // int -my_getch() +my_getch(void) { if (unget_count > 0) { return (unget_buf[--unget_count]); diff --git a/dist/pdisk/pdisk.c b/dist/pdisk/pdisk.c index 9b5860d79e7..4c2cd3dd374 100644 --- a/dist/pdisk/pdisk.c +++ b/dist/pdisk/pdisk.c @@ -226,7 +226,7 @@ main(int argc, char **argv) void -print_top_notes() +print_top_notes(void) { printf("Notes:\n"); printf(" Disks have fake names of the form /dev/scsi<bus>.<id>\n"); @@ -239,7 +239,7 @@ print_top_notes() void -interact() +interact(void) { char *name; int command; @@ -504,7 +504,7 @@ get_options(int argc, char **argv) void -print_edit_notes() +print_edit_notes(void) { printf("Notes:\n"); printf(" Base and length fields are blocks, which vary in size between media.\n"); @@ -958,7 +958,7 @@ do_write_partition_map(partition_map_header *map) void -print_expert_notes() +print_expert_notes(void) { printf("Notes:\n"); printf(" The expert commands are for low level and experimental features.\n"); |
