summaryrefslogtreecommitdiff
path: root/lib/libntp/lib_strbuf.c
blob: 23833468eb00aba542e5fbc38c991fd346cfc947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*	$NetBSD: lib_strbuf.c,v 1.3 1998/01/09 03:16:16 perry Exp $	*/

/*
 * lib_strbuf - library string storage
 */

#include <sys/cdefs.h>

#include "lib_strbuf.h"

/*
 * Storage declarations
 */
char lib_stringbuf[LIB_NUMBUFS][LIB_BUFLENGTH];
int lib_nextbuf;
int lib_inited = 0;

void init_lib __P((void));

/*
 * initialization routine.  Might be needed if the code is ROMized.
 */
void
init_lib()
{
	lib_nextbuf = 0;
	lib_inited = 1;
}