diff options
author | Geoff Keating <geoffk@cygnus.com> | 2000-10-29 07:07:20 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2000-10-29 07:07:20 +0000 |
commit | 926c56780f0725ea270127d42ac9f5daffeb2a96 (patch) | |
tree | 41e02b5b0c1c221b225bef780afa91428da07398 /gcc/cpplib.h | |
parent | 69f4cc4b9e763cc09896613a3fdd1659384d9869 (diff) | |
download | gcc-926c56780f0725ea270127d42ac9f5daffeb2a96.zip gcc-926c56780f0725ea270127d42ac9f5daffeb2a96.tar.gz gcc-926c56780f0725ea270127d42ac9f5daffeb2a96.tar.bz2 |
cpphash.c (cpp_forall_identifiers): Add context variable for callback routine.
* cpphash.c (cpp_forall_identifiers): Add context variable
for callback routine.
* cppmain.c (dump_macro): Update to match cpp_forall_identifiers
change.
(main): Call cpp_forall_identifiers with null context.
* cpplib.h (cpp_forall_identifiers): Update prototype.
* cppmain.c: Make `parse_in' and `print' static.
From-SVN: r37119
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index eecd867..747ff18 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -802,7 +802,10 @@ extern cpp_hashnode *cpp_lookup PARAMS ((cpp_reader *, const unsigned char *, size_t)); extern void cpp_forall_identifiers PARAMS ((cpp_reader *, int (*) PARAMS ((cpp_reader *, - cpp_hashnode *)))); + cpp_hashnode *, + void *)), + void *)); + /* In cppmacro.c */ extern void cpp_scan_buffer_nooutput PARAMS ((cpp_reader *)); extern void cpp_start_lookahead PARAMS ((cpp_reader *)); |