Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/ktruss constify, remove redundant dumpfile() prototype



details:   https://anonhg.NetBSD.org/src/rev/abb7bc83cd29
branches:  trunk
changeset: 499167:abb7bc83cd29
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Nov 13 21:36:22 2000 +0000

description:
constify, remove redundant dumpfile() prototype

diffstat:

 usr.bin/ktruss/dump.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r c5d39c9928ed -r abb7bc83cd29 usr.bin/ktruss/dump.c
--- a/usr.bin/ktruss/dump.c     Mon Nov 13 21:35:38 2000 +0000
+++ b/usr.bin/ktruss/dump.c     Mon Nov 13 21:36:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dump.c,v 1.10 2000/10/12 19:02:18 is Exp $     */
+/*     $NetBSD: dump.c,v 1.11 2000/11/13 21:36:22 jdolecek Exp $       */
 
 /*-
  * Copyright (c) 1988, 1993
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "@(#)kdump.c    8.4 (Berkeley) 4/28/95";
 #endif
-__RCSID("$NetBSD: dump.c,v 1.10 2000/10/12 19:02:18 is Exp $");
+__RCSID("$NetBSD: dump.c,v 1.11 2000/11/13 21:36:22 jdolecek Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -86,7 +86,6 @@
 
 void   dumprecord __P((struct ktr_header *, int, int *, void **, FILE *));
 void   dumpheader __P((struct ktr_header *, char *, int, int *));
-void   dumpfile __P((char *, int, int));
 int    fread_tail __P((char *, int, int, FILE *));
 void   ioctldecode __P((u_long));
 int    ktrsyscall __P((struct ktr_syscall *, int, char *, int, int *));
@@ -198,7 +197,7 @@
 
 void
 dumpfile(file, fd, trpoints)
-       char *file;
+       const char *file;
        int fd;
        int trpoints;
 {



Home | Main Index | Thread Index | Old Index