aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-06-08 07:54:10 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-06-08 07:54:10 +0000
commit35399bdca9aeeaf8c7b0709c7767c79504944fa7 (patch)
treef974599ae367c3af58eeec4d6ed163ceb9b16557 /gcc/opts.h
parent8eb6a092cabdf4dbf91224ed32b63935a30766dd (diff)
downloadgcc-35399bdca9aeeaf8c7b0709c7767c79504944fa7.zip
gcc-35399bdca9aeeaf8c7b0709c7767c79504944fa7.tar.gz
gcc-35399bdca9aeeaf8c7b0709c7767c79504944fa7.tar.bz2
Makefile.in: Rename options.c and options.h to c-options.c and c-options.h.
* Makefile.in: Rename options.c and options.h to c-options.c and c-options.h. (OBJS): Remove options.o. * c-opts.c: Don'tInclude c-options.h instead of options.h. * opts.c: Don't include options.h. (find_opt): Can't use enum opt_code or N_OPTS. * opts.h (struct cl_option, cl_options, cl_options_count): Move from... * opts.sh: ... here. From-SVN: r67615
Diffstat (limited to 'gcc/opts.h')
-rw-r--r--gcc/opts.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/opts.h b/gcc/opts.h
index 297bd82..0bba52d 100644
--- a/gcc/opts.h
+++ b/gcc/opts.h
@@ -23,6 +23,16 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
extern int handle_option (int argc, char **argv, int lang_mask);
+struct cl_option
+{
+ const char *opt_text;
+ unsigned char opt_len;
+ unsigned char flags;
+};
+
+extern const struct cl_option cl_options[];
+extern const unsigned int cl_options_count;
+
#define CL_C (1 << 0) /* Only C. */
#define CL_OBJC (1 << 1) /* Only ObjC. */
#define CL_CXX (1 << 2) /* Only C++. */