summaryrefslogtreecommitdiff
path: root/gcc/opts.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-08 07:54:10 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-08 07:54:10 +0000
commit55da3817d2b8c8a1e06357ef6c68ba3684478772 (patch)
treef974599ae367c3af58eeec4d6ed163ceb9b16557 /gcc/opts.h
parent605921ec4952418fb7207475f356c1ac2d8eb081 (diff)
downloadgcc-55da3817d2b8c8a1e06357ef6c68ba3684478772.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67615 138bc75d-0d04-0410-961f-82ee72b054a4
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 297bd825111..0bba52d3499 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++. */