Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet Fix compilation for ppc



details:   https://anonhg.NetBSD.org/src/rev/1fedb65a29e7
branches:  trunk
changeset: 815270:1fedb65a29e7
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Mon May 09 07:02:10 2016 +0000

description:
Fix compilation for ppc

diffstat:

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

diffs (27 lines):

diff -r 9289110b4b02 -r 1fedb65a29e7 sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c   Mon May 09 04:55:34 2016 +0000
+++ b/sys/netinet/ip_output.c   Mon May 09 07:02:10 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_output.c,v 1.254 2016/05/04 15:42:32 christos Exp $ */
+/*     $NetBSD: ip_output.c,v 1.255 2016/05/09 07:02:10 ozaki-r Exp $  */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.254 2016/05/04 15:42:32 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.255 2016/05/09 07:02:10 ozaki-r Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -1500,7 +1500,7 @@
 static int
 ip_add_membership(struct ip_moptions *imo, const struct sockopt *sopt)
 {
-       struct ifnet *ifp;
+       struct ifnet *ifp = NULL;       // XXX: gcc [ppc]
        struct in_addr ia;
        int i, error;
 



Home | Main Index | Thread Index | Old Index