1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
Description: Fix some const correctness
Author: Steve M. Robbins <smr@debian.org>
--- inventor-2.1.5-10.orig/apps/samples/widgets/componentTest.c++
+++ inventor-2.1.5-10/apps/samples/widgets/componentTest.c++
@@ -60,7 +60,7 @@ void usage(char *name)
}
int
-main(unsigned int argc, char *argv[])
+main(int argc, char *argv[])
{
if (argc != 2)
usage(argv[0]);
@@ -85,4 +85,5 @@ main(unsigned int argc, char *argv[])
XtRealizeWidget(mainWindow);
SoXt::mainLoop();
+ return 0;
}
--- inventor-2.1.5-10.orig/apps/demos/textomatic/textomatic.c++
+++ inventor-2.1.5-10/apps/demos/textomatic/textomatic.c++
@@ -548,4 +548,5 @@ main(int argc, char **argv)
SoXt::show(w);
SoXt::mainLoop();
+ return 0;
}
--- inventor-2.1.5-10.orig/apps/demos/SceneViewer/SceneViewer.c++
+++ inventor-2.1.5-10/apps/demos/SceneViewer/SceneViewer.c++
@@ -230,4 +230,5 @@ main(int argc, char **argv)
// Loop forever
//
SoXt::mainLoop();
+ return 0;
}
--- inventor-2.1.5-10.orig/apps/demos/maze/maze.c++
+++ inventor-2.1.5-10/apps/demos/maze/maze.c++
@@ -1332,5 +1332,6 @@ main(int argc, char *argv[])
SoXt::show(mainWindow);
SoXt::mainLoop();
+ return 0;
}
--- inventor-2.1.5-10.orig/apps/demos/noodle/noodle.c++
+++ inventor-2.1.5-10/apps/demos/noodle/noodle.c++
@@ -679,5 +679,6 @@ main(int argc, char **argv)
SoXt::show(mainWindow);
SoXt::mainLoop();
+ return 0;
}
--- inventor-2.1.5-10.orig/apps/demos/drop/drop.c++
+++ inventor-2.1.5-10/apps/demos/drop/drop.c++
@@ -93,6 +93,7 @@ main( int, char **argv )
// Enter the Xt event loop
SoXt::show( appWindow );
SoXt::mainLoop();
+ return 0;
}
--- inventor-2.1.5-10.orig/apps/tools/ivview/ivview.c++
+++ inventor-2.1.5-10/apps/tools/ivview/ivview.c++
@@ -1170,4 +1170,5 @@ main(int argc, char **argv)
setBusyCursor(FALSE);
SoXt::mainLoop();
+ return 0;
}
|