A lot of changes were suggested by Chris.
[oota-llvm.git] / tools / llee / SysUtils.h
index 89b647970e3b71a94db450abda234f11a2889d20..84e7f9d6b2e9148946dbf7dddeafabb489677488 100644 (file)
@@ -1,4 +1,4 @@
-/*===- sysutils.h - Utilities to do low-level system stuff -------*- C -*--===*\
+/*===- SysUtils.h - Utilities to do low-level system stuff -------*- C -*--===*\
  *                                                                            *
  * This file contains functions used to do a variety of low-level, often      *
  * system-specific, tasks.                                                    *
@@ -8,20 +8,14 @@
 #ifndef SYSUTILS_H
 #define SYSUTILS_H
 
-typedef unsigned bool;
-enum { false = 0, true = 1 };
-
 /*
  * isExecutableFile - This function returns true if the filename specified
  * exists and is executable.
  */
-bool isExecutableFile(const char *ExeFileName);
+unsigned isExecutableFile(const char *ExeFileName);
 
 /*
- * FindExecutable - Find a named executable, giving the argv[0] of program
- * being executed. This allows us to find another LLVM tool if it is built into
- * the same directory, but that directory is neither the current directory, nor
- * in the PATH.  If the executable cannot be found, return an empty string.
+ * FindExecutable - Find a named executable in the path.
  */ 
 char *FindExecutable(const char *ExeName);