WARNSify
This commit is contained in:
parent
faf7739143
commit
6a76908aad
@ -30,6 +30,8 @@ int ntp_optopt; /* for compatibility, option character checked */
|
||||
static char *scan = NULL; /* Private scan pointer. */
|
||||
static char *prog = "amnesia";
|
||||
|
||||
static int badopt __P((char *, int));
|
||||
|
||||
/*
|
||||
* Print message about a bad option.
|
||||
*/
|
||||
|
@ -12,6 +12,8 @@
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
char *humanlogtime __P((void));
|
||||
|
||||
static char *months[] = {
|
||||
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
|
||||
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
|
||||
|
@ -2,6 +2,8 @@
|
||||
* lib_strbuf - library string storage
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#include "lib_strbuf.h"
|
||||
|
||||
/*
|
||||
@ -11,6 +13,8 @@ char lib_stringbuf[LIB_NUMBUFS][LIB_BUFLENGTH];
|
||||
int lib_nextbuf;
|
||||
int lib_inited = 0;
|
||||
|
||||
void init_lib __P((void));
|
||||
|
||||
/*
|
||||
* initialization routine. Might be needed if the code is ROMized.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user