Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet Unconstify rnode to prevent compile error when G...



details:   https://anonhg.NetBSD.org/src/rev/9b98ff1bf6e0
branches:  trunk
changeset: 581385:9b98ff1bf6e0
user:      blymn <blymn%NetBSD.org@localhost>
date:      Wed Jun 01 09:45:15 2005 +0000

description:
Unconstify rnode to prevent compile error when GATEWAY option set.

diffstat:

 sys/netinet/ip_input.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c2f1ecf4d6ac -r 9b98ff1bf6e0 sys/netinet/ip_input.c
--- a/sys/netinet/ip_input.c    Wed Jun 01 09:44:12 2005 +0000
+++ b/sys/netinet/ip_input.c    Wed Jun 01 09:45:15 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_input.c,v 1.215 2005/04/29 10:39:09 yamt Exp $      */
+/*     $NetBSD: ip_input.c,v 1.216 2005/06/01 09:45:15 blymn Exp $     */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -98,7 +98,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.215 2005/04/29 10:39:09 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.216 2005/06/01 09:45:15 blymn Exp $");
 
 #include "opt_inet.h"
 #include "opt_gateway.h"
@@ -2137,7 +2137,7 @@
 {
        int s;
 
-       s = sysctl_lookup(SYSCTLFN_CALL(rnode));
+       s = sysctl_lookup(SYSCTLFN_CALL(__UNCONST(rnode)));
        if (s)
                return (s);
 



Home | Main Index | Thread Index | Old Index