Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit add const, from PR 44183.
details: https://anonhg.NetBSD.org/src/rev/eb8a93cdda87
branches: trunk
changeset: 759212:eb8a93cdda87
user: dholland <dholland%NetBSD.org@localhost>
date: Thu Dec 02 04:42:46 2010 +0000
description:
add const, from PR 44183.
diffstat:
lib/libedit/filecomplete.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4a106835744d -r eb8a93cdda87 lib/libedit/filecomplete.c
--- a/lib/libedit/filecomplete.c Thu Dec 02 04:35:17 2010 +0000
+++ b/lib/libedit/filecomplete.c Thu Dec 02 04:42:46 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: filecomplete.c,v 1.21 2010/12/02 04:35:17 dholland Exp $ */
+/* $NetBSD: filecomplete.c,v 1.22 2010/12/02 04:42:46 dholland Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include "config.h"
#if !defined(lint) && !defined(SCCSID)
-__RCSID("$NetBSD: filecomplete.c,v 1.21 2010/12/02 04:35:17 dholland Exp $");
+__RCSID("$NetBSD: filecomplete.c,v 1.22 2010/12/02 04:42:46 dholland Exp $");
#endif /* not lint && not SCCSID */
#include <sys/types.h>
@@ -59,7 +59,7 @@
#include "histedit.h"
#include "filecomplete.h"
-static Char break_chars[] = { ' ', '\t', '\n', '"', '\\', '\'', '`', '@',
+static const Char break_chars[] = { ' ', '\t', '\n', '"', '\\', '\'', '`', '@',
'$', '>', '<', '=', ';', '|', '&', '{', '(', '\0' };
- Prev by Date:
[src/trunk]: src/lib/libedit Fix up bodgy code for printing completion matche...
- Next by Date:
[src/trunk]: src/share/misc +FPS, GG, GGWP, OOC, TMJ, fix expansion of SFAICT.
- Previous by Thread:
[src/trunk]: src/lib/libedit Fix up bodgy code for printing completion matche...
- Next by Thread:
[src/trunk]: src/share/misc +FPS, GG, GGWP, OOC, TMJ, fix expansion of SFAICT.
- Indexes:
Home |
Main Index |
Thread Index |
Old Index