[llvm-commits] CVS: llvm-test/MultiSource/Applications/kimwitu++/main.cc

John Criswell criswell at cs.uiuc.edu
Fri Sep 10 13:04:24 PDT 2004



Changes in directory llvm-test/MultiSource/Applications/kimwitu++:

main.cc updated: 1.1 -> 1.2
---
Log message:

Remove the use of getopt_long() (which we don't use for testing anyway).
This allows kimwitu++ to easily compile on other platforms.


---
Diffs of the changes:  (+3 -3)

Index: llvm-test/MultiSource/Applications/kimwitu++/main.cc
diff -u llvm-test/MultiSource/Applications/kimwitu++/main.cc:1.1 llvm-test/MultiSource/Applications/kimwitu++/main.cc:1.2
--- llvm-test/MultiSource/Applications/kimwitu++/main.cc:1.1	Tue Apr  6 15:25:13 2004
+++ llvm-test/MultiSource/Applications/kimwitu++/main.cc	Fri Sep 10 15:04:11 2004
@@ -39,7 +39,7 @@
 #ifndef RCSMAKEID
 # define RCSMAKEID "@(#) Makefile version unknown"
 #endif
-static char kimwc_cAccesSid[] = "@(#)$Id: main.cc,v 1.1 2004/04/06 20:25:13 criswell Exp $";
+static char kimwc_cAccesSid[] = "@(#)$Id: main.cc,v 1.2 2004/09/10 20:04:11 criswell Exp $";
 static char kimwitu_release[] = KIMWITURELEASE; // defined in Makefile
 static char kimwitu_version[] = KIMWITUVERSIONSTRING; // defined in Makefile
 static char Makefile_AccesSid[] = RCSMAKEID; // defined in Makefile
@@ -297,7 +297,7 @@
     };
 
     int c;
-    while ((c = getopt_long (argc, argv,
+    while ((c = getopt (argc, argv,
 		"c"     
 		"r"     
 		"u"     
@@ -320,7 +320,7 @@
 		"W::"   
 		"h"	    
 		"V"	    
-		, long_options, 0)) != -1)
+		)) != -1)
     switch (c) {
 	case 'V':
 	print_version();






More information about the llvm-commits mailing list