Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Constify remaining rtentry of if_output (fix build)
details: https://anonhg.NetBSD.org/src/rev/ca5012ba16d8
branches: trunk
changeset: 344942:ca5012ba16d8
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Thu Apr 28 14:40:09 2016 +0000
description:
Constify remaining rtentry of if_output (fix build)
diffstat:
sys/net/if_arcsubr.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r db189c6bed22 -r ca5012ba16d8 sys/net/if_arcsubr.c
--- a/sys/net/if_arcsubr.c Thu Apr 28 14:00:23 2016 +0000
+++ b/sys/net/if_arcsubr.c Thu Apr 28 14:40:09 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_arcsubr.c,v 1.72 2016/04/20 09:01:04 knakahara Exp $ */
+/* $NetBSD: if_arcsubr.c,v 1.73 2016/04/28 14:40:09 ozaki-r Exp $ */
/*
* Copyright (c) 1994, 1995 Ignatios Souvatzis
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_arcsubr.c,v 1.72 2016/04/20 09:01:04 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_arcsubr.c,v 1.73 2016/04/28 14:40:09 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -102,7 +102,7 @@
#define senderr(e) { error = (e); goto bad;}
static int arc_output(struct ifnet *, struct mbuf *,
- const struct sockaddr *, struct rtentry *);
+ const struct sockaddr *, const struct rtentry *);
static void arc_input(struct ifnet *, struct mbuf *);
/*
@@ -112,7 +112,7 @@
*/
static int
arc_output(struct ifnet *ifp, struct mbuf *m0, const struct sockaddr *dst,
- struct rtentry *rt)
+ const struct rtentry *rt)
{
struct mbuf *m, *m1, *mcopy;
struct arccom *ac;
Home |
Main Index |
Thread Index |
Old Index