[llvm-commits] CVS: llvm/tools/llee/SysUtils.c

Reid Spencer reid at x10sys.com
Tue Sep 14 08:46:23 PDT 2004



Changes in directory llvm/tools/llee:

SysUtils.c updated: 1.7 -> 1.8
---
Log message:

Fix compilation warning.


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

Index: llvm/tools/llee/SysUtils.c
diff -u llvm/tools/llee/SysUtils.c:1.7 llvm/tools/llee/SysUtils.c:1.8
--- llvm/tools/llee/SysUtils.c:1.7	Wed Sep  1 17:55:37 2004
+++ llvm/tools/llee/SysUtils.c	Tue Sep 14 10:46:13 2004
@@ -115,7 +115,7 @@
    * Find a pointer to the *real* execve() function starting the search in the
    * next library and forward, to avoid finding the one defined in this file.
    */
-  char *error;
+  const char *error;
   execveTy execvePtr = (execveTy) dlsym(RTLD_NEXT, "execve");
   if ((error = dlerror()) != NULL) {
     fprintf(stderr, "%s\n", error);






More information about the llvm-commits mailing list