aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-08-08 08:33:48 +0000
committerRichard Stallman <rms@gnu.org>1993-08-08 08:33:48 +0000
commit34d6bae3ee52ad4f91db7cee05fe3e244f3098f0 (patch)
tree738ab8e0653b094ce7b949b010e26d02f4f52528 /gcc/c-common.c
parent9a9a96439d8d21240451a9f2341dde7829f20c7b (diff)
downloadgcc-34d6bae3ee52ad4f91db7cee05fe3e244f3098f0.zip
gcc-34d6bae3ee52ad4f91db7cee05fe3e244f3098f0.tar.gz
gcc-34d6bae3ee52ad4f91db7cee05fe3e244f3098f0.tar.bz2
(declare_function_name): Set DECL_EXTERNAL in the decls.
From-SVN: r5106
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index b5a1cdd..e5a84d2 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -70,6 +70,7 @@ declare_function_name ()
DECL_SOURCE_LINE (decl) = 0;
DECL_IN_SYSTEM_HEADER (decl) = 1;
DECL_IGNORED_P (decl) = 1;
+ DECL_EXTERNAL (decl) = 1;
init = build_string (len, name);
TREE_TYPE (init) = type;
DECL_INITIAL (decl) = init;
@@ -89,6 +90,7 @@ declare_function_name ()
DECL_SOURCE_LINE (decl) = 0;
DECL_IN_SYSTEM_HEADER (decl) = 1;
DECL_IGNORED_P (decl) = 1;
+ DECL_EXTERNAL (decl) = 1;
init = build_string (len, printable_name);
TREE_TYPE (init) = type;
DECL_INITIAL (decl) = init;