Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/ktrace constify
details: https://anonhg.NetBSD.org/src/rev/c5d39c9928ed
branches: trunk
changeset: 499166:c5d39c9928ed
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Mon Nov 13 21:35:38 2000 +0000
description:
constify
diffstat:
usr.bin/ktrace/ktrace.c | 10 +++++-----
usr.bin/ktrace/ktrace.h | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (60 lines):
diff -r e7e652341c1e -r c5d39c9928ed usr.bin/ktrace/ktrace.c
--- a/usr.bin/ktrace/ktrace.c Mon Nov 13 21:32:15 2000 +0000
+++ b/usr.bin/ktrace/ktrace.c Mon Nov 13 21:35:38 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ktrace.c,v 1.19 2000/07/07 15:13:24 itojun Exp $ */
+/* $NetBSD: ktrace.c,v 1.20 2000/11/13 21:35:38 jdolecek Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)ktrace.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: ktrace.c,v 1.19 2000/07/07 15:13:24 itojun Exp $");
+__RCSID("$NetBSD: ktrace.c,v 1.20 2000/11/13 21:35:38 jdolecek Exp $");
#endif
#endif /* not lint */
@@ -72,7 +72,7 @@
int main __P((int, char **));
int rpid __P((char *));
void usage __P((void));
-int do_ktrace __P((char *, int, int,int));
+int do_ktrace __P((const char *, int, int,int));
void no_ktrace __P((int));
#ifdef KTRUSS
@@ -86,7 +86,7 @@
{
enum { NOTSET, CLEAR, CLEARALL } clear;
int append, ch, fd, inherit, ops, pid, pidset, trpoints;
- char *infile, *outfile;
+ const char *infile, *outfile;
#ifdef KTRUSS
const char *emul_name = "netbsd";
#endif
@@ -278,7 +278,7 @@
int
do_ktrace(tracefile, ops, trpoints, pid)
- char *tracefile;
+ const char *tracefile;
int ops;
int trpoints;
int pid;
diff -r e7e652341c1e -r c5d39c9928ed usr.bin/ktrace/ktrace.h
--- a/usr.bin/ktrace/ktrace.h Mon Nov 13 21:32:15 2000 +0000
+++ b/usr.bin/ktrace/ktrace.h Mon Nov 13 21:35:38 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ktrace.h,v 1.8 2000/04/10 09:30:26 jdolecek Exp $ */
+/* $NetBSD: ktrace.h,v 1.9 2000/11/13 21:35:38 jdolecek Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -46,4 +46,4 @@
int getpoints __P((char *));
char *ioctlname __P((long));
-void dumpfile __P((char *, int, int));
+void dumpfile __P((const char *, int, int));
Home |
Main Index |
Thread Index |
Old Index