6175b00231
- sprinkle const - should fix linux build
15 lines
440 B
C++
15 lines
440 B
C++
$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
|