Module Name: src Committed By: uwe Date: Thu Jul 18 04:02:31 UTC 2013
Modified Files: src/usr.bin/man: man.c Log Message: Constify jump() arguments appropriately. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/usr.bin/man/man.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/man/man.c diff -u src/usr.bin/man/man.c:1.45 src/usr.bin/man/man.c:1.46 --- src/usr.bin/man/man.c:1.45 Thu Jul 18 03:48:22 2013 +++ src/usr.bin/man/man.c Thu Jul 18 04:02:31 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: man.c,v 1.45 2013/07/18 03:48:22 uwe Exp $ */ +/* $NetBSD: man.c,v 1.46 2013/07/18 04:02:31 uwe Exp $ */ /* * Copyright (c) 1987, 1993, 1994, 1995 @@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1987, 19 #if 0 static char sccsid[] = "@(#)man.c 8.17 (Berkeley) 1/31/95"; #else -__RCSID("$NetBSD: man.c,v 1.45 2013/07/18 03:48:22 uwe Exp $"); +__RCSID("$NetBSD: man.c,v 1.46 2013/07/18 04:02:31 uwe Exp $"); #endif #endif /* not lint */ @@ -114,7 +114,7 @@ static void cat(char *); static const char *check_pager(const char *); static int cleanup(void); static void how(char *); -static void jump(char **, char *, char *); +static void jump(char **, const char *, const char *); static int manual(char *, struct manstate *, glob_t *); static void onsig(int); static void usage(void) __attribute__((__noreturn__)); @@ -898,7 +898,7 @@ check_pager(const char *name) * strip out flag argument and jump */ static void -jump(char **argv, char *flag, char *name) +jump(char **argv, const char *flag, const char *name) { char **arg;