MFC r201261:
Add missing `void' keywords.
This commit is contained in:
parent
2be621faba
commit
2ca586a5ac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=202828
@ -306,7 +306,7 @@ main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
usage()
|
usage(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
(void)fprintf(stderr,
|
(void)fprintf(stderr,
|
||||||
@ -318,7 +318,7 @@ usage()
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
back_patch()
|
back_patch(void)
|
||||||
{
|
{
|
||||||
struct instruction *cur_instr;
|
struct instruction *cur_instr;
|
||||||
|
|
||||||
@ -347,7 +347,7 @@ back_patch()
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
output_code()
|
output_code(void)
|
||||||
{
|
{
|
||||||
struct instruction *cur_instr;
|
struct instruction *cur_instr;
|
||||||
patch_t *cur_patch;
|
patch_t *cur_patch;
|
||||||
@ -733,7 +733,7 @@ stop(const char *string, int err_code)
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct instruction *
|
struct instruction *
|
||||||
seq_alloc()
|
seq_alloc(void)
|
||||||
{
|
{
|
||||||
struct instruction *new_instr;
|
struct instruction *new_instr;
|
||||||
|
|
||||||
@ -747,7 +747,7 @@ seq_alloc()
|
|||||||
}
|
}
|
||||||
|
|
||||||
critical_section_t *
|
critical_section_t *
|
||||||
cs_alloc()
|
cs_alloc(void)
|
||||||
{
|
{
|
||||||
critical_section_t *new_cs;
|
critical_section_t *new_cs;
|
||||||
|
|
||||||
@ -761,7 +761,7 @@ cs_alloc()
|
|||||||
}
|
}
|
||||||
|
|
||||||
scope_t *
|
scope_t *
|
||||||
scope_alloc()
|
scope_alloc(void)
|
||||||
{
|
{
|
||||||
scope_t *new_scope;
|
scope_t *new_scope;
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ MCARG [^(), \t]+
|
|||||||
%%
|
%%
|
||||||
|
|
||||||
int
|
int
|
||||||
mmwrap()
|
mmwrap(void)
|
||||||
{
|
{
|
||||||
stop("EOF encountered in macro call", EX_DATAERR);
|
stop("EOF encountered in macro call", EX_DATAERR);
|
||||||
return (1);
|
return (1);
|
||||||
|
@ -590,7 +590,7 @@ next_substitution(struct symbol *mac_symbol, const char *body_pos,
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
yywrap()
|
yywrap(void)
|
||||||
{
|
{
|
||||||
include_t *include;
|
include_t *include;
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ symbol_delete(symbol_t *symbol)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
symtable_open()
|
symtable_open(void)
|
||||||
{
|
{
|
||||||
symtable = dbopen(/*filename*/NULL,
|
symtable = dbopen(/*filename*/NULL,
|
||||||
O_CREAT | O_NONBLOCK | O_RDWR, /*mode*/0, DB_HASH,
|
O_CREAT | O_NONBLOCK | O_RDWR, /*mode*/0, DB_HASH,
|
||||||
@ -143,7 +143,7 @@ symtable_open()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
symtable_close()
|
symtable_close(void)
|
||||||
{
|
{
|
||||||
if (symtable != NULL) {
|
if (symtable != NULL) {
|
||||||
DBT key;
|
DBT key;
|
||||||
|
Loading…
Reference in New Issue
Block a user