diff options
author | Bruce Korb <bkorb@gnu.org> | 2000-02-04 21:42:00 +0000 |
---|---|---|
committer | Bruce Korb <korbb@gcc.gnu.org> | 2000-02-04 21:42:00 +0000 |
commit | bff0dc38c2f7a20945942c52039866a82572e5ef (patch) | |
tree | 8f81e15524ec14490e37b27653b87e0a00573278 /gcc/fixinc/fixlib.h | |
parent | 1c71e60ef78d26b2146bdcf45f2177722ec1ff30 (diff) | |
download | gcc-bff0dc38c2f7a20945942c52039866a82572e5ef.zip gcc-bff0dc38c2f7a20945942c52039866a82572e5ef.tar.gz gcc-bff0dc38c2f7a20945942c52039866a82572e5ef.tar.bz2 |
genfixes (machname.h): Move the functionality from gen-machine.h into this file.
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
From-SVN: r31793
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 bc43977..7794c9c 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 */ |