aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-pragma.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2001-08-24 08:08:35 -0400
committerJason Merrill <jason@gcc.gnu.org>2001-08-24 08:08:35 -0400
commit4ae08f95bb712ae37974e429d6c572a2300a0581 (patch)
tree47e70bd01e97f65c98921799d510b40da48472f2 /gcc/c-pragma.h
parent0213a355281c1ce387d9fae4061d18f6b9bcd54e (diff)
downloadgcc-4ae08f95bb712ae37974e429d6c572a2300a0581.zip
gcc-4ae08f95bb712ae37974e429d6c572a2300a0581.tar.gz
gcc-4ae08f95bb712ae37974e429d6c572a2300a0581.tar.bz2
c-pragma.h: Move weak_syms and weak_decls...
* c-pragma.h: Move weak_syms and weak_decls... * varasm.c: ...here. Now static. (declare_weak, weak_finish, remove_from_pending_weak_list): Don't depend on HANDLE_PRAGMA_WEAK. From-SVN: r45146
Diffstat (limited to 'gcc/c-pragma.h')
-rw-r--r--gcc/c-pragma.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/c-pragma.h b/gcc/c-pragma.h
index 929162c..f60a566 100644
--- a/gcc/c-pragma.h
+++ b/gcc/c-pragma.h
@@ -43,17 +43,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#ifdef HANDLE_PRAGMA_WEAK
-/* This structure contains any weak symbol declarations waiting to be emitted. */
-struct weak_syms
-{
- struct weak_syms * next;
- const char * name;
- const char * value;
-};
-
-/* Declared in varasm.c */
-extern struct weak_syms * weak_decls;
-
extern int add_weak PARAMS ((const char *, const char *));
#endif /* HANDLE_PRAGMA_WEAK */