Revision: 77708
http://sourceforge.net/p/brlcad/code/77708
Author: starseeker
Date: 2020-11-07 02:55:32 +0000 (Sat, 07 Nov 2020)
Log Message:
-----------
These should be C variables, for external visibility.
Modified Paths:
--------------
brlcad/branches/extbuild/src/other/ext/stepcode/src/exp2cxx/sc_getopt.cpp
Modified:
brlcad/branches/extbuild/src/other/ext/stepcode/src/exp2cxx/sc_getopt.cpp
===================================================================
--- brlcad/branches/extbuild/src/other/ext/stepcode/src/exp2cxx/sc_getopt.cpp
2020-11-07 02:49:07 UTC (rev 77707)
+++ brlcad/branches/extbuild/src/other/ext/stepcode/src/exp2cxx/sc_getopt.cpp
2020-11-07 02:55:32 UTC (rev 77708)
@@ -150,8 +150,10 @@
//
///////////////////////////////////////////////////////////////////////////////
+extern "C" {
char *sc_optarg; // global argument pointer
int sc_optind = 0; // global argv index
+}
extern "C" int
sc_getopt(int argc, char *argv[], char *optstring) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits