Make sure we have a show_usage function prototype

-Erik
1_00_stable_10817
Eric Andersen 2002-12-11 07:46:30 +00:00
parent 392947c860
commit d7e1a6c6eb
1 changed files with 3 additions and 1 deletions

View File

@ -77,7 +77,7 @@ struct client_config_t client_config = {
};
#ifndef BB_VER
static void show_usage(void)
static void __attribute__ ((noreturn)) show_usage(void)
{
printf(
"Usage: udhcpc [OPTIONS]\n\n"
@ -99,6 +99,8 @@ static void show_usage(void)
);
exit(0);
}
#else
extern void show_usage(void) __attribute__ ((noreturn));
#endif