NetBSD/dist/ntp/libntp/lib_strbuf.c

25 lines
395 B
C
Raw Normal View History

2000-03-29 16:38:44 +04:00
/* $NetBSD: lib_strbuf.c,v 1.1.1.1 2000/03/29 12:38:50 simonb Exp $ */
/*
* lib_strbuf - library string storage
*/
#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;
}