blob: 9f2faaf8a0ed8e71d34b71872209df985e8ea13f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-vfu_vfuview.cpp,v 1.1 2014/06/29 19:43:54 dholland Exp $
Sprinkle const to make more modern C++ compilers happier.
--- vfu/vfuview.cpp~ 2002-04-26 07:24:21.000000000 +0000
+++ vfu/vfuview.cpp
@@ -119,7 +119,7 @@ void vfu_draw( int n )
/*#######################################################################*/
-extern char *FTIMETYPE[]; /* in vfuopt.cpp */
+extern const char *const FTIMETYPE[]; /* in vfuopt.cpp */
void vfu_redraw() /* redraw file list and header */
{
char t[MAX_PATH];
|