Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib More include cleanup. Remvoe (p) from #undef in libipsec.



details:   https://anonhg.NetBSD.org/src/rev/cf7f6d027819
branches:  trunk
changeset: 494168:cf7f6d027819
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jul 03 03:56:20 2000 +0000

description:
More include cleanup.  Remvoe (p) from #undef in libipsec.

diffstat:

 lib/libcurses/refresh.c |  5 +++--
 lib/libipsec/pfkey.c    |  4 ++--
 lib/librmt/Makefile     |  3 ++-
 3 files changed, 7 insertions(+), 5 deletions(-)

diffs (55 lines):

diff -r 008eb8942887 -r cf7f6d027819 lib/libcurses/refresh.c
--- a/lib/libcurses/refresh.c   Mon Jul 03 03:37:59 2000 +0000
+++ b/lib/libcurses/refresh.c   Mon Jul 03 03:56:20 2000 +0000
@@ -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 -r 008eb8942887 -r cf7f6d027819 lib/libipsec/pfkey.c
--- a/lib/libipsec/pfkey.c      Mon Jul 03 03:37:59 2000 +0000
+++ b/lib/libipsec/pfkey.c      Mon Jul 03 03:56:20 2000 +0000
@@ -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 @@
                _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 -r 008eb8942887 -r cf7f6d027819 lib/librmt/Makefile
--- a/lib/librmt/Makefile       Mon Jul 03 03:37:59 2000 +0000
+++ b/lib/librmt/Makefile       Mon Jul 03 03:56:20 2000 +0000
@@ -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
 



Home | Main Index | Thread Index | Old Index