0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-07-24 10:25:42 -04:00

Added appropriate "void" prototypes.

This commit is contained in:
Keith Kanios 2007-04-13 22:03:24 +00:00
parent 2a3311b546
commit 68d52b7737
2 changed files with 3 additions and 3 deletions

View 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; static int labels_defined = 0;
struct Section *sec; struct Section *sec;
@ -1438,7 +1438,7 @@ struct ofmt of_bin = {
}; };
/* This is needed for bin_define_section_labels() */ /* This is needed for bin_define_section_labels() */
struct ofmt *bin_get_ofmt() struct ofmt *bin_get_ofmt(void)
{ {
return &of_bin; return &of_bin;
} }

View File

@ -1491,7 +1491,7 @@ void stabs_generate(void)
stabstrbuf = ssbuf; stabstrbuf = ssbuf;
} }
void stabs_cleanup() void stabs_cleanup(void)
{ {
struct linelist *ptr, *del; struct linelist *ptr, *del;
if (!stabslines) if (!stabslines)