diff options
Diffstat (limited to 'gcc/cpphash.c')
-rw-r--r-- | gcc/cpphash.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/cpphash.c b/gcc/cpphash.c index 1c7366d9746..50172d174ce 100644 --- a/gcc/cpphash.c +++ b/gcc/cpphash.c @@ -264,9 +264,10 @@ higher_prime_number (n) } void -cpp_forall_identifiers (pfile, cb) +cpp_forall_identifiers (pfile, cb, v) cpp_reader *pfile; - int (*cb) PARAMS ((cpp_reader *, cpp_hashnode *)); + int (*cb) PARAMS ((cpp_reader *, cpp_hashnode *, void *)); + void *v; { cpp_hashnode **p, **limit; @@ -275,7 +276,7 @@ cpp_forall_identifiers (pfile, cb) do { if (*p) - if ((*cb) (pfile, *p) == 0) + if ((*cb) (pfile, *p, v) == 0) break; } while (++p < limit); |