NetBSD/lib/libntp/lib_strbuf.c

27 lines
371 B
C
Raw Normal View History

1997-04-18 17:22:49 +04:00
/*
* lib_strbuf - library string storage
*/
1997-10-09 15:24:59 +04:00
#include <sys/cdefs.h>
1997-04-18 17:22:49 +04:00
#include "lib_strbuf.h"
/*
* Storage declarations
*/
char lib_stringbuf[LIB_NUMBUFS][LIB_BUFLENGTH];
int lib_nextbuf;
int lib_inited = 0;
1997-10-09 15:24:59 +04:00
void init_lib __P((void));
1997-04-18 17:22:49 +04:00
/*
* initialization routine. Might be needed if the code is ROMized.
*/
void
init_lib()
{
lib_nextbuf = 0;
lib_inited = 1;
}