summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-09-10 18:59:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-09-10 18:59:35 +0000
commit90abbf65fbd1cee54f30193f3833037f4ebde756 (patch)
tree6fb2c9321121f8a7e273f2b521f114290ff79e1a /include
parent0267a6d0468dae0acbac4d807136d6187750f72f (diff)
Hide netgroup internals inside libc. The parts that netgroup_mkdb
wants to use, well.... copy them there. ok guenther
Diffstat (limited to 'include')
-rw-r--r--include/netgroup.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/netgroup.h b/include/netgroup.h
index 364b846e11e..ce2936789cd 100644
--- a/include/netgroup.h
+++ b/include/netgroup.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: netgroup.h,v 1.7 2015/01/19 15:30:52 krw Exp $ */
+/* $OpenBSD: netgroup.h,v 1.8 2015/09/10 18:59:34 deraadt Exp $ */
/*
* Copyright (c) 1994 Christos Zoulas
* All rights reserved.
@@ -62,18 +62,6 @@ void setnetgrent(const char *);
int getnetgrent(const char **, const char **, const char **);
void endnetgrent(void);
int innetgr(const char *, const char *, const char *, const char *);
-#ifdef _NETGROUP_PRIVATE
-struct stringlist;
-
-struct stringlist *_ng_sl_init(void);
-int _ng_sl_add(struct stringlist *, char *);
-void _ng_sl_free(struct stringlist *, int);
-char *_ng_sl_find(struct stringlist *, char *);
-char *_ng_makekey(const char *, const char *, size_t);
-int _ng_parse(char **, char **, struct netgroup **);
-void _ng_print(char *, size_t, const struct netgroup *);
-#endif /* _NETGROUP_PRIVATE */
-
__END_DECLS
#endif /* !_NETGROUP_H_ */