1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/contrib/ntp/libntp/lib_strbuf.c
2001-08-29 14:35:15 +00:00

24 lines
347 B
C

/*
* lib_strbuf - library string storage
*/
#include "ntp_stdlib.h"
#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;
}