mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 00:06:59 +00:00
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:
parent
f11ca0bec2
commit
4aff49ed80
4 changed files with 15 additions and 32 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue