Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sbin/sysctl pullup 1.38 -> 1.39 (requested by releng-1-5)
details: https://anonhg.NetBSD.org/src/rev/0e48e6f456a3
branches: netbsd-1-5
changeset: 488528:0e48e6f456a3
user: itojun <itojun%NetBSD.org@localhost>
date: Sat Jul 15 02:01:28 2000 +0000
description:
pullup 1.38 -> 1.39 (requested by releng-1-5)
sync with sys/sysctl.h change (constify)
diffstat:
sbin/sysctl/sysctl.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 02e28dfd65f9 -r 0e48e6f456a3 sbin/sysctl/sysctl.c
--- a/sbin/sysctl/sysctl.c Sat Jul 15 00:44:27 2000 +0000
+++ b/sbin/sysctl/sysctl.c Sat Jul 15 02:01:28 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysctl.c,v 1.37 2000/06/07 04:40:47 itojun Exp $ */
+/* $NetBSD: sysctl.c,v 1.37.2.1 2000/07/15 02:01:28 itojun Exp $ */
/*
* Copyright (c) 1993
@@ -44,7 +44,7 @@
#if 0
static char sccsid[] = "@(#)sysctl.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: sysctl.c,v 1.37 2000/06/07 04:40:47 itojun Exp $");
+__RCSID("$NetBSD: sysctl.c,v 1.37.2.1 2000/07/15 02:01:28 itojun Exp $");
#endif
#endif /* not lint */
@@ -167,7 +167,7 @@
int main __P((int, char *[]));
-static void listall __P((char *, struct list *));
+static void listall __P((const char *, struct list *));
static void parse __P((char *, int));
static void debuginit __P((void));
static int sysctl_inet __P((char *, char **, int[], int, int *));
@@ -259,7 +259,7 @@
*/
static void
listall(prefix, lp)
- char *prefix;
+ const char *prefix;
struct list *lp;
{
int lvl2;
Home |
Main Index |
Thread Index |
Old Index