Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys need a "const"
details: https://anonhg.NetBSD.org/src/rev/c86ecf67e836
branches: trunk
changeset: 581400:c86ecf67e836
user: drochner <drochner%NetBSD.org@localhost>
date: Wed Jun 01 12:27:15 2005 +0000
description:
need a "const"
diffstat:
sys/kern/kern_timeout.c | 6 +++---
sys/netinet/if_arp.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 48fef698b1dc -r c86ecf67e836 sys/kern/kern_timeout.c
--- a/sys/kern/kern_timeout.c Wed Jun 01 12:25:27 2005 +0000
+++ b/sys/kern/kern_timeout.c Wed Jun 01 12:27:15 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_timeout.c,v 1.15 2005/05/29 22:24:15 christos Exp $ */
+/* $NetBSD: kern_timeout.c,v 1.16 2005/06/01 12:27:15 drochner Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_timeout.c,v 1.15 2005/05/29 22:24:15 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_timeout.c,v 1.16 2005/06/01 12:27:15 drochner Exp $");
/*
* Adapted from OpenBSD: kern_timeout.c,v 1.15 2002/12/08 04:21:07 art Exp,
@@ -424,7 +424,7 @@
}
void
-db_show_callout(db_expr_t addr, int haddr, db_expr_t count, char *modif)
+db_show_callout(db_expr_t addr, int haddr, db_expr_t count, const char *modif)
{
int b;
diff -r 48fef698b1dc -r c86ecf67e836 sys/netinet/if_arp.c
--- a/sys/netinet/if_arp.c Wed Jun 01 12:25:27 2005 +0000
+++ b/sys/netinet/if_arp.c Wed Jun 01 12:27:15 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_arp.c,v 1.104 2005/05/29 21:39:21 christos Exp $ */
+/* $NetBSD: if_arp.c,v 1.105 2005/06/01 12:29:58 drochner Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -75,7 +75,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.104 2005/05/29 21:39:21 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.105 2005/06/01 12:29:58 drochner Exp $");
#include "opt_ddb.h"
#include "opt_inet.h"
@@ -1454,7 +1454,7 @@
* Use this from ddb: "show arptab"
*/
void
-db_show_arptab(db_expr_t addr, int have_addr, db_expr_t count, char *modif)
+db_show_arptab(db_expr_t addr, int have_addr, db_expr_t count, const char *modif)
{
struct radix_node_head *rnh;
rnh = rt_tables[AF_INET];
Home |
Main Index |
Thread Index |
Old Index