diff options
author | Ed Maste <emaste@FreeBSD.org> | 2014-02-18 16:23:10 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2014-02-18 16:23:10 +0000 |
commit | 866dcdacfe59f5f448e008fe2c4cb9dfcf72b2ec (patch) | |
tree | 95cb16075f0af1b3a05b9b84eb18dda8e6c903e9 /tools/driver/GetOptWrapper.h | |
parent | de889deb2c386f2a7831befaf226e5c86685fa53 (diff) |
Diffstat (limited to 'tools/driver/GetOptWrapper.h')
-rw-r--r-- | tools/driver/GetOptWrapper.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/tools/driver/GetOptWrapper.h b/tools/driver/GetOptWrapper.h deleted file mode 100644 index 9c9cf03d7626e..0000000000000 --- a/tools/driver/GetOptWrapper.h +++ /dev/null @@ -1,49 +0,0 @@ -//===-- GetOptWrapper.h -----------------------------------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#ifndef lldb_GetOptWrapper_h_ -#define lldb_GetOptWrapper_h_ - -// from getopt.h -#define no_argument 0 -#define required_argument 1 -#define optional_argument 2 - -// defined int unistd.h -extern int optreset; - -// from getopt.h -extern char *optarg; -extern int optind; -extern int opterr; -extern int optopt; - -// option structure -struct option -{ - const char *name; - // has_arg can't be an enum because some compilers complain about - // type mismatches in all the code that assumes it is an int. - int has_arg; - int *flag; - int val; -}; - -// -extern int -getopt_long_only -( - int ___argc, - char *const *___argv, - const char *__shortopts, - const struct option *__longopts, - int *__longind -); - -#endif // lldb_GetOptWrapper_h_
\ No newline at end of file |