Module Name: src Committed By: joerg Date: Mon Jul 4 12:31:53 UTC 2011
Modified Files: src/external/bsd/less/dist: command.c Log Message: Fix const usage to be consistent with the other files. ml_shell and ml_examine are constant pointers, not pointers to constant data. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/less/dist/command.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/less/dist/command.c diff -u src/external/bsd/less/dist/command.c:1.3 src/external/bsd/less/dist/command.c:1.4 --- src/external/bsd/less/dist/command.c:1.3 Sun Jul 3 20:14:12 2011 +++ src/external/bsd/less/dist/command.c Mon Jul 4 12:31:53 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: command.c,v 1.3 2011/07/03 20:14:12 tron Exp $ */ +/* $NetBSD: command.c,v 1.4 2011/07/04 12:31:53 joerg Exp $ */ /* * Copyright (C) 1984-2011 Mark Nudelman @@ -44,9 +44,9 @@ extern struct scrpos initial_scrpos; extern IFILE curr_ifile; extern void constant *ml_search; -extern void constant *ml_examine; +extern void * constant ml_examine; #if SHELL_ESCAPE || PIPEC -extern void constant *ml_shell; +extern void * constant ml_shell; #endif #if EDITOR extern char *editor;