summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2009-10-16 12:22:08 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2009-10-16 12:22:08 +0000
commit63f280f709286635b31c8f26d68feb29efafd2a2 (patch)
treebd6092455507ca7b2c6c563a239390f70584ec57
parent7d672698297cd690f731fb42ff14a0e3ddb35755 (diff)
bring in proper lookup_name prototype so that its pointer return
value doesn't get truncated to int - on 64-bit architectures. ok miod@, millert@, espie@
-rw-r--r--gnu/usr.bin/gcc/gcc/c-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/c-common.c b/gnu/usr.bin/gcc/gcc/c-common.c
index 013e7589e7c..3d51549959c 100644
--- a/gnu/usr.bin/gcc/gcc/c-common.c
+++ b/gnu/usr.bin/gcc/gcc/c-common.c
@@ -41,6 +41,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "tree-inline.h"
cpp_reader *parse_in; /* Declared in c-pragma.h. */
+extern tree lookup_name PARAMS ((tree)); /* Declared in c-tree.h. */
/* We let tm.h override the types used here, to handle trivial differences
such as the choice of unsigned int or long unsigned int for size_t.