correct return value FIXME items

Not all markups were quite right.  The output_* functions must return an
int.  The rest were as a matter of fact correct.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2015-11-28 21:03:38 +00:00
parent f11ca0bec2
commit 4aff49ed80
No known key found for this signature in database
GPG key ID: A9553245FDE9B739
4 changed files with 15 additions and 32 deletions

View file

@ -287,9 +287,8 @@ int main(int argc, char **argv)
}
/*! \brief Run time initialization. Global allocations, counter
* initializations, etc are here.
* FIXME: This function should return void. */
int prepare_memory(void)
* initializations, etc are here. */
void prepare_memory(void)
{
config.dhcp_version = VERSION_UNKNOWN;
RANGES = 64;
@ -301,5 +300,4 @@ int prepare_memory(void)
shared_networks->used = 0;
shared_networks->touched = 0;
shared_networks->backups = 0;
return 0;
}