Module Name: src Committed By: he Date: Fri Mar 23 14:49:55 UTC 2012
Modified Files: src/dist/pdisk: errors.c io.c pdisk.c Log Message: More c89 prototypes, mostly just filling in void where needed. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/dist/pdisk/errors.c src/dist/pdisk/io.c cvs rdiff -u -r1.18 -r1.19 src/dist/pdisk/pdisk.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/dist/pdisk/errors.c diff -u src/dist/pdisk/errors.c:1.4 src/dist/pdisk/errors.c:1.5 --- src/dist/pdisk/errors.c:1.4 Wed Jul 13 15:25:29 2005 +++ src/dist/pdisk/errors.c Fri Mar 23 14:49:55 2012 @@ -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); Index: src/dist/pdisk/io.c diff -u src/dist/pdisk/io.c:1.4 src/dist/pdisk/io.c:1.5 --- src/dist/pdisk/io.c:1.4 Thu Aug 25 16:51:48 2011 +++ src/dist/pdisk/io.c Fri Mar 23 14:49:55 2012 @@ -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]); Index: src/dist/pdisk/pdisk.c diff -u src/dist/pdisk/pdisk.c:1.18 src/dist/pdisk/pdisk.c:1.19 --- src/dist/pdisk/pdisk.c:1.18 Wed Dec 23 09:13:21 2009 +++ src/dist/pdisk/pdisk.c Fri Mar 23 14:49:55 2012 @@ -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_hea void -print_expert_notes() +print_expert_notes(void) { printf("Notes:\n"); printf(" The expert commands are for low level and experimental features.\n");