summaryrefslogtreecommitdiff
path: root/gcc/c-pragma.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-pragma.c')
-rw-r--r--gcc/c-pragma.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/c-pragma.c b/gcc/c-pragma.c
index d83789d667b..09fac1feaab 100644
--- a/gcc/c-pragma.c
+++ b/gcc/c-pragma.c
@@ -192,30 +192,6 @@ insert_pack_attributes (node, attributes, prefix)
}
#endif /* HANDLE_PRAGMA_PACK_PUSH_POP */
-#ifdef HANDLE_PRAGMA_WEAK
-static int add_weak PROTO((char *, char *));
-
-static int
-add_weak (name, value)
- char * name;
- char * value;
-{
- struct weak_syms * weak;
-
- weak = (struct weak_syms *) permalloc (sizeof (struct weak_syms));
-
- if (weak == NULL)
- return 0;
-
- weak->next = weak_decls;
- weak->name = name;
- weak->value = value;
- weak_decls = weak;
-
- return 1;
-}
-#endif /* HANDLE_PRAGMA_WEAK */
-
/* Handle one token of a pragma directive. TOKEN is the current token, and
STRING is its printable form. Some front ends do not support generating
tokens, and will only pass in a STRING. Also some front ends will reuse