diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 1998-05-14 18:09:01 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 1998-05-14 18:09:01 +0000 |
commit | 34e9701933920a1b91b5f5717935652f86850872 (patch) | |
tree | 71af4c85e03dd559ba81b969efa4ea5ac1ede141 /toke.c | |
parent | 0559d6709bef71ddf2b29eb9894aa0c5747eb3ef (diff) | |
download | perl-34e9701933920a1b91b5f5717935652f86850872.tar.gz |
Changes to allow compiler with gcc-2.8.1 in C++ mode,
Remove K&R style functions, avoid struct/typedef clash.
p4raw-id: //depot/ansiperl@972
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -318,16 +318,14 @@ restore_rsfp(void *f) } static void -restore_expect(e) -void *e; +restore_expect(void *e) { /* a safe way to store a small integer in a pointer */ expect = (expectation)((char *)e - tokenbuf); } static void -restore_lex_expect(e) -void *e; +restore_lex_expect(void *e) { /* a safe way to store a small integer in a pointer */ lex_expect = (expectation)((char *)e - tokenbuf); |