diff options
Diffstat (limited to 'tools/llee/SysUtils.h')
-rw-r--r-- | tools/llee/SysUtils.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/tools/llee/SysUtils.h b/tools/llee/SysUtils.h index 89b647970e..84e7f9d6b2 100644 --- a/tools/llee/SysUtils.h +++ b/tools/llee/SysUtils.h @@ -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); |