Module Name: src
Committed By: dholland
Date: Thu Dec 2 04:42:46 UTC 2010
Modified Files:
src/lib/libedit: filecomplete.c
Log Message:
add const, from PR 44183.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/libedit/filecomplete.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libedit/filecomplete.c
diff -u src/lib/libedit/filecomplete.c:1.21 src/lib/libedit/filecomplete.c:1.22
--- src/lib/libedit/filecomplete.c:1.21 Thu Dec 2 04:35:17 2010
+++ src/lib/libedit/filecomplete.c Thu Dec 2 04:42:46 2010
@@ -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' };