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/d836cf665e36
branches: trunk
changeset: 345048:d836cf665e36
user: christos <christos%NetBSD.org@localhost>
date: Wed May 04 15:42:32 2016 +0000
description:
fix compilation for ppc.
diffstat:
sys/netinet/ip_output.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 2f7c414e9e8b -r d836cf665e36 sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c Wed May 04 14:39:49 2016 +0000
+++ b/sys/netinet/ip_output.c Wed May 04 15:42:32 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_output.c,v 1.253 2016/04/28 00:16:56 ozaki-r Exp $ */
+/* $NetBSD: ip_output.c,v 1.254 2016/05/04 15:42:32 christos 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.253 2016/04/28 00:16:56 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.254 2016/05/04 15:42:32 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1556,8 +1556,8 @@
static int
ip_drop_membership(struct ip_moptions *imo, const struct sockopt *sopt)
{
- struct in_addr ia;
- struct ifnet *ifp;
+ struct in_addr ia = { .s_addr = 0 }; // XXX: gcc [ppc]
+ struct ifnet *ifp = NULL; // XXX: gcc [ppc]
int i, error;
if (sopt->sopt_size == sizeof(struct ip_mreq))
Home |
Main Index |
Thread Index |
Old Index