Added appropriate "void" prototypes.
authorKeith Kanios <spook@dynatos.net>
Fri, 13 Apr 2007 22:03:24 +0000 (22:03 +0000)
committerKeith Kanios <spook@dynatos.net>
Fri, 13 Apr 2007 22:03:24 +0000 (22:03 +0000)
output/outbin.c
output/outelf.c

index 89465e3..908c17c 100644 (file)
@@ -1192,7 +1192,7 @@ static void bin_assign_attributes(struct Section *sec, char *astring)
     }
 }
 
-static void bin_define_section_labels()
+static void bin_define_section_labels(void)
 {
     static int labels_defined = 0;
     struct Section *sec;
@@ -1438,7 +1438,7 @@ struct ofmt of_bin = {
 };
 
 /* This is needed for bin_define_section_labels() */
-struct ofmt *bin_get_ofmt()
+struct ofmt *bin_get_ofmt(void)
 {
     return &of_bin;
 }
index 103479c..6ef1ba2 100644 (file)
@@ -1491,7 +1491,7 @@ void stabs_generate(void)
     stabstrbuf = ssbuf;
 }
 
-void stabs_cleanup()
+void stabs_cleanup(void)
 {
     struct linelist *ptr, *del;
     if (!stabslines)