blob: 2a57ddff45a33a37c8cbf4001a8ee7143a69fdb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-vfu_vfuopt.h,v 1.1 2014/06/29 19:43:54 dholland Exp $
Sprinkle const to make more modern C++ compilers happier.
--- vfu/vfuopt.h~ 2002-04-26 07:24:21.000000000 +0000
+++ vfu/vfuopt.h
@@ -15,9 +15,9 @@
#include "see.h"
#include "vfuuti.h"
- extern char *NOYES[];
- extern char *FTIMETYPE[];
- extern char *TAGMARKS[];
+ extern const char *const NOYES[];
+ extern const char *const FTIMETYPE[];
+ extern const char *const TAGMARKS[];
struct Options {
int sort_order;
|