Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/less/dist Fix const usage to be consistent with...



details:   https://anonhg.NetBSD.org/src/rev/73a91afb6897
branches:  trunk
changeset: 766938:73a91afb6897
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Jul 04 12:31:53 2011 +0000

description:
Fix const usage to be consistent with the other files. ml_shell and
ml_examine are constant pointers, not pointers to constant data.

diffstat:

 external/bsd/less/dist/command.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 57910fe74239 -r 73a91afb6897 external/bsd/less/dist/command.c
--- a/external/bsd/less/dist/command.c  Mon Jul 04 12:18:53 2011 +0000
+++ b/external/bsd/less/dist/command.c  Mon Jul 04 12:31:53 2011 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index