summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-03-30 12:47:56 +0000
committerjkh <jkh@FreeBSD.org>1995-03-30 12:47:56 +0000
commit88e73c918c0e35f0e91f9d4faf2d5fc296c56499 (patch)
treeb605b1c71e2f4d8c016e4bf36978cf1f79e63b47 /include
parent02ba73f73710bbda1154f765b78642d80c7192b8 (diff)
downloadFreeBSD-src-88e73c918c0e35f0e91f9d4faf2d5fc296c56499.zip
FreeBSD-src-88e73c918c0e35f0e91f9d4faf2d5fc296c56499.tar.gz
Add a necessary include file for the catgets* routines.
Obtained from: NetBSD
Diffstat (limited to 'include')
-rw-r--r--include/Makefile4
-rw-r--r--include/nl_types.h48
2 files changed, 50 insertions, 2 deletions
diff --git a/include/Makefile b/include/Makefile
index 9cbdddd..da1e06b 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.2 (Berkeley) 1/4/94
-# $Id: Makefile,v 1.23 1995/03/22 07:29:58 phk Exp $
+# $Id: Makefile,v 1.24 1995/03/26 10:12:51 jkh Exp $
#
# Doing a make install builds /usr/include
#
@@ -13,7 +13,7 @@ SUBDIR= rpcsvc
FILES= a.out.h ar.h assert.h bitstring.h ctype.h db.h dirent.h disktab.h \
err.h f2c.h fnmatch.h fstab.h fts.h glob.h grp.h strhash.h histedit.h \
kvm.h limits.h link.h locale.h malloc.h memory.h mpool.h ndbm.h \
- netdb.h nlist.h paths.h pwd.h ranlib.h regex.h regexp.h \
+ netdb.h nl_types.h nlist.h paths.h pwd.h ranlib.h regex.h regexp.h \
resolv.h rune.h runetype.h setjmp.h sgtty.h signal.h \
stab.h stddef.h stdio.h stdlib.h string.h strings.h struct.h \
sysexits.h tar.h time.h ttyent.h tzfile.h unistd.h utime.h \
diff --git a/include/nl_types.h b/include/nl_types.h
new file mode 100644
index 0000000..accd718
--- /dev/null
+++ b/include/nl_types.h
@@ -0,0 +1,48 @@
+/* $Id$ */
+
+/***********************************************************
+Copyright 1990, by Alfalfa Software Incorporated, Cambridge, Massachusetts.
+
+ All Rights Reserved
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation, and that Alfalfa's name not be used in
+advertising or publicity pertaining to distribution of the software
+without specific, written prior permission.
+
+ALPHALPHA DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
+ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
+ALPHALPHA BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
+ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
+SOFTWARE.
+
+If you make any modifications, bugfixes or other changes to this software
+we'd appreciate it if you could send a copy to us so we can keep things
+up-to-date. Many thanks.
+ Kee Hinckley
+ Alfalfa Software, Inc.
+ 267 Allston St., #3
+ Cambridge, MA 02139 USA
+ nazgul@alfalfa.com
+
+******************************************************************/
+
+#ifndef _NL_TYPES_H_
+#define _NL_TYPES_H_
+#include <sys/cdefs.h>
+
+#define NL_SETD 0
+
+typedef long nl_catd;
+typedef long nl_item;
+
+extern nl_catd catopen __P((__const char *, int));
+extern char *catgets __P((nl_catd, int, int, char *));
+extern int catclose __P((nl_catd));
+
+#endif /* _NL_TYPES_H_ */
OpenPOWER on IntegriCloud