diff options
author | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-04 21:42:00 +0000 |
---|---|---|
committer | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-04 21:42:00 +0000 |
commit | cde396adc1149db3b9f67946fb53bc63136cf419 (patch) | |
tree | 8f81e15524ec14490e37b27653b87e0a00573278 /gcc/fixinc/fixlib.h | |
parent | 38cc6f0cb8e049d79a2d5f902c3220560747b744 (diff) | |
download | gcc-cde396adc1149db3b9f67946fb53bc63136cf419.tar.gz |
2000-02-04 Bruce Korb <bkorb@gnu.org>
* fixinc/genfixes(machname.h):
Move the functionality from gen-machine.h into this file.
UNdef MN_NAME_PAT if there are no names to change.
Also, be a little kinder when AutoGen is not present.
* fixinc/Makefile.in(machname.h):
Change the generation rule to use genfixes.
* fixinc/fixfixes.c(machine_name):
machine_name_fix's functionality now dependent upon whether
MN_NAME_PAT is defined.
* fixinc/fixtests.c(machine_name):
ditto.
* fixinc/fixlib.c(mn_get_regexps): conditional on definition
of MN_NAME_PAT.
* fixinc/fixlib.h(mn_get_regexps):
ditto
* fixinc/gen-machine.h: DELETED
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31793 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc/fixlib.h')
-rw-r--r-- | gcc/fixinc/fixlib.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/fixinc/fixlib.h b/gcc/fixinc/fixlib.h index bc43977922c..7794c9c4e13 100644 --- a/gcc/fixinc/fixlib.h +++ b/gcc/fixinc/fixlib.h @@ -30,6 +30,7 @@ Boston, MA 02111-1307, USA. */ #include "system.h" #include "gnu-regex.h" +#include "machname.h" #ifndef STDIN_FILENO # define STDIN_FILENO 0 @@ -99,6 +100,8 @@ char * load_file_data _P_(( FILE* fp )); t_bool is_cxx_header _P_(( tCC* filename, tCC* filetext )); void compile_re _P_(( tCC* pat, regex_t* re, int match, tCC *e1, tCC *e2 )); -int mn_get_regexps _P_(( regex_t** label_re, regex_t** name_re, +#ifdef MN_NAME_PAT +void mn_get_regexps _P_(( regex_t** label_re, regex_t** name_re, tCC *who )); +#endif #endif /* FIXINCLUDES_FIXLIB_H */ |