(declare_function_name): Set DECL_EXTERNAL in the decls.
authorRichard Stallman <rms@gnu.org>
Sun, 8 Aug 1993 08:33:48 +0000 (08:33 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 8 Aug 1993 08:33:48 +0000 (08:33 +0000)
From-SVN: r5106

gcc/c-common.c

index b5a1cdd27b5262043a9da20858d0cd1732d5bb6c..e5a84d2be7b1c69cef54f408bd7898deb3a9ae98 100644 (file)
@@ -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;