summaryrefslogtreecommitdiff
path: root/gcc/c-pragma.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-29 19:30:04 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-29 19:30:04 +0000
commit948481200b495fb6c54c0f7da14b34b43c609c3d (patch)
tree5eefc7f0de7f5377b27e0e5b4754fff042ef488a /gcc/c-pragma.c
parente868f58239227ef087fbc1a03b0856155a9227f7 (diff)
downloadgcc-948481200b495fb6c54c0f7da14b34b43c609c3d.tar.gz
* c-pragma.c (init_pragma): Update for parse_in type change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37853 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-pragma.c')
-rw-r--r--gcc/c-pragma.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/c-pragma.c b/gcc/c-pragma.c
index d8e6e2f2888..9a31209bc25 100644
--- a/gcc/c-pragma.c
+++ b/gcc/c-pragma.c
@@ -304,17 +304,14 @@ handle_pragma_weak (dummy)
void
init_pragma ()
{
- cpp_reader *pfile ATTRIBUTE_UNUSED;
- pfile = &parse_in;
-
#ifdef HANDLE_PRAGMA_PACK
- cpp_register_pragma (pfile, 0, "pack", handle_pragma_pack);
+ cpp_register_pragma (parse_in, 0, "pack", handle_pragma_pack);
#endif
#ifdef HANDLE_PRAGMA_WEAK
- cpp_register_pragma (pfile, 0, "weak", handle_pragma_weak);
+ cpp_register_pragma (parse_in, 0, "weak", handle_pragma_weak);
#endif
#ifdef REGISTER_TARGET_PRAGMAS
- REGISTER_TARGET_PRAGMAS (pfile);
+ REGISTER_TARGET_PRAGMAS (parse_in);
#endif
#ifdef HANDLE_PRAGMA_PACK_PUSH_POP