freebsd-dev/contrib/ntp/libntp/lib_strbuf.c

24 lines
347 B
C
Raw Normal View History

1999-12-09 13:01:21 +00:00
/*
* lib_strbuf - library string storage
*/
2001-08-29 14:35:15 +00:00
#include "ntp_stdlib.h"
1999-12-09 13:01:21 +00:00
#include "lib_strbuf.h"
/*
* Storage declarations
*/
char lib_stringbuf[LIB_NUMBUFS][LIB_BUFLENGTH];
int lib_nextbuf;
int lib_inited = 0;
/*
* initialization routine. Might be needed if the code is ROMized.
*/
void
init_lib(void)
{
lib_nextbuf = 0;
lib_inited = 1;
}