summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/lib/lib_strbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/xntpd/lib/lib_strbuf.c')
-rw-r--r--usr.sbin/xntpd/lib/lib_strbuf.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/usr.sbin/xntpd/lib/lib_strbuf.c b/usr.sbin/xntpd/lib/lib_strbuf.c
new file mode 100644
index 0000000..15661ab
--- /dev/null
+++ b/usr.sbin/xntpd/lib/lib_strbuf.c
@@ -0,0 +1,21 @@
+/* lib_strbuf.c,v 3.1 1993/07/06 01:08:27 jbj Exp
+ * lib_strbuf - library string storage
+ */
+
+#include "lib_strbuf.h"
+
+/*
+ * Storage declarations
+ */
+char lib_stringbuf[LIB_NUMBUFS][LIB_BUFLENGTH];
+int lib_nextbuf;
+
+
+/*
+ * initialization routine. Might be needed if the code is ROMized.
+ */
+void
+init_lib()
+{
+ lib_nextbuf = 0;
+}
OpenPOWER on IntegriCloud