diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-06-08 07:54:10 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-06-08 07:54:10 +0000 |
commit | 35399bdca9aeeaf8c7b0709c7767c79504944fa7 (patch) | |
tree | f974599ae367c3af58eeec4d6ed163ceb9b16557 /gcc/opts.h | |
parent | 8eb6a092cabdf4dbf91224ed32b63935a30766dd (diff) | |
download | gcc-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.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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++. */ |