summaryrefslogtreecommitdiffstats
path: root/usr.sbin/netgroup_mkdb
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2012-12-05 23:19:48 +0000
committerderaadt <deraadt@openbsd.org>2012-12-05 23:19:48 +0000
commit4a39ccd02c887d988c1a5398dd2142879056da5f (patch)
tree3f6f5ebe7c6dd542474dc26d7ceda4e4d4da28e6 /usr.sbin/netgroup_mkdb
parentCross-reference getfsstat(2); OK jmc@ (diff)
downloadwireguard-openbsd-4a39ccd02c887d988c1a5398dd2142879056da5f.tar.xz
wireguard-openbsd-4a39ccd02c887d988c1a5398dd2142879056da5f.zip
Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis
Diffstat (limited to 'usr.sbin/netgroup_mkdb')
-rw-r--r--usr.sbin/netgroup_mkdb/str.h3
-rw-r--r--usr.sbin/netgroup_mkdb/util.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/netgroup_mkdb/str.h b/usr.sbin/netgroup_mkdb/str.h
index 6906ac5ed51..e20a5e50351 100644
--- a/usr.sbin/netgroup_mkdb/str.h
+++ b/usr.sbin/netgroup_mkdb/str.h
@@ -28,11 +28,10 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: str.h,v 1.2 2002/02/16 21:28:06 millert Exp $
+ * $Id: str.h,v 1.3 2012/12/05 23:20:26 deraadt Exp $
*/
#include <sys/types.h>
-#include <sys/cdefs.h>
struct string {
char *s_str;
diff --git a/usr.sbin/netgroup_mkdb/util.h b/usr.sbin/netgroup_mkdb/util.h
index 08ca7d7dfad..c040255cc39 100644
--- a/usr.sbin/netgroup_mkdb/util.h
+++ b/usr.sbin/netgroup_mkdb/util.h
@@ -31,7 +31,6 @@
#include <stdio.h>
#include <sys/types.h>
-#include <sys/cdefs.h>
__BEGIN_DECLS
void *emalloc(size_t);