]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - libntp/lib_strbuf.c
Flatten the dist and various 4.n.n trees in preparation of future ntp imports.
[FreeBSD/FreeBSD.git] / libntp / lib_strbuf.c
1 /*
2  * lib_strbuf - library string storage
3  */
4
5 #include "ntp_stdlib.h"
6 #include "lib_strbuf.h"
7
8 /*
9  * Storage declarations
10  */
11 char lib_stringbuf[LIB_NUMBUFS][LIB_BUFLENGTH];
12 int lib_nextbuf;
13 int lib_inited = 0;
14
15 /*
16  * initialization routine.  Might be needed if the code is ROMized.
17  */
18 void
19 init_lib(void)
20 {
21         lib_nextbuf = 0;
22         lib_inited = 1;
23 }