[llvm-commits] CVS: llvm/utils/Burg/main.c
Misha Brukman
brukman at cs.uiuc.edu
Mon Jun 14 11:36:01 PDT 2004
Changes in directory llvm/utils/Burg:
main.c updated: 1.2 -> 1.3
---
Log message:
The correct prototype is `int atoi(CONST char*)'. Unbroke AIX build.
---
Diffs of the changes: (+2 -2)
Index: llvm/utils/Burg/main.c
diff -u llvm/utils/Burg/main.c:1.2 llvm/utils/Burg/main.c:1.3
--- llvm/utils/Burg/main.c:1.2 Mon Jan 20 00:19:18 2003
+++ llvm/utils/Burg/main.c Mon Jun 14 11:30:05 2004
@@ -1,4 +1,4 @@
-char rcsid_main[] = "$Id: main.c,v 1.2 2003/01/20 06:19:18 lattner Exp $";
+char rcsid_main[] = "$Id: main.c,v 1.3 2004/06/14 16:30:05 brukman Exp $";
#include <math.h>
#include <stdio.h>
@@ -21,7 +21,7 @@
main(argc, argv) int argc; char **argv;
{
int i;
- extern int atoi ARGS((char *));
+ extern int atoi ARGS((const char *));
for (i = 1; argv[i]; i++) {
char **needStr = 0;
More information about the llvm-commits
mailing list