summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2000-07-03 03:56:20 +0000
committermatt <matt@NetBSD.org>2000-07-03 03:56:20 +0000
commit6ac8d1ec06e81a00d072115cca9a40e98b3104f3 (patch)
tree5ff65fbac4158bd62acc1a6c04d5f8f5222c4b97 /lib
parent0f6818e4eb4c028ebe8607889793bdc9572933c6 (diff)
More include cleanup. Remvoe (p) from #undef in libipsec.
Diffstat (limited to 'lib')
-rw-r--r--lib/libcurses/refresh.c5
-rw-r--r--lib/libipsec/pfkey.c4
-rw-r--r--lib/librmt/Makefile3
3 files changed, 7 insertions, 5 deletions
diff --git a/lib/libcurses/refresh.c b/lib/libcurses/refresh.c
index 1d56a206a3d..75601308b83 100644
--- a/lib/libcurses/refresh.c
+++ b/lib/libcurses/refresh.c
@@ -1,4 +1,4 @@
-/* $NetBSD: refresh.c,v 1.37 2000/06/15 21:20:16 jdc Exp $ */
+/* $NetBSD: refresh.c,v 1.38 2000/07/03 03:56:20 matt Exp $ */
/*
* Copyright (c) 1981, 1993, 1994
@@ -38,10 +38,11 @@
#if 0
static char sccsid[] = "@(#)refresh.c 8.7 (Berkeley) 8/13/94";
#else
-__RCSID("$NetBSD: refresh.c,v 1.37 2000/06/15 21:20:16 jdc Exp $");
+__RCSID("$NetBSD: refresh.c,v 1.38 2000/07/03 03:56:20 matt Exp $");
#endif
#endif /* not lint */
+#include <stdlib.h>
#include <string.h>
#include "curses.h"
diff --git a/lib/libipsec/pfkey.c b/lib/libipsec/pfkey.c
index c55010af756..a7d1e50b288 100644
--- a/lib/libipsec/pfkey.c
+++ b/lib/libipsec/pfkey.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pfkey.c,v 1.10 2000/06/12 10:40:52 itojun Exp $ */
+/* $NetBSD: pfkey.c,v 1.11 2000/07/03 03:56:22 matt Exp $ */
/* $KAME: pfkey.c,v 1.31 2000/06/10 14:17:43 sakane Exp $ */
/*
@@ -291,7 +291,7 @@ pfkey_send_getspi(so, satype, mode, src, dst, min, max, reqid, seq)
_SADB_SPIRANGE(p)->sadb_spirange_exttype = SADB_EXT_SPIRANGE;
_SADB_SPIRANGE(p)->sadb_spirange_min = min;
_SADB_SPIRANGE(p)->sadb_spirange_max = max;
-#undef _SADB_SPIRANGE(p)
+#undef _SADB_SPIRANGE
p += _len;
}
diff --git a/lib/librmt/Makefile b/lib/librmt/Makefile
index 361c2dca1fd..7a6499438a0 100644
--- a/lib/librmt/Makefile
+++ b/lib/librmt/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.5 1999/02/13 02:54:30 lukem Exp $
+# $NetBSD: Makefile,v 1.6 2000/07/03 03:56:22 matt Exp $
LIB= rmt
SRCS= rmtlib.c
MAN= rmtops.3
+CPPFLAGS += -D_REENTRANT
MKPROFILE=no
MKPIC= no