summaryrefslogtreecommitdiff
path: root/misc/vfu/patches/patch-vslib_getopt2.cpp
blob: 471b3c80430764f48e9892ac63994f29dab33b89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-vslib_getopt2.cpp,v 1.1 2014/06/29 19:43:54 dholland Exp $

Sprinkle const to make more modern C++ compilers happier.

--- vslib/getopt2.cpp~	2001-10-28 13:53:02.000000000 +0000
+++ vslib/getopt2.cpp
@@ -40,7 +40,7 @@ static char *nextarg = NULL;
 
 /* Funktion */
 
-int getopt2(int argc, char *argv[], char *optstring)
+int getopt2(int argc, char *argv[], const char *optstring)
 
 /*
  *  AU: Auswertung der Kommandozeile