summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2009-10-16 12:22:07 +0000
committermartynas <martynas@openbsd.org>2009-10-16 12:22:07 +0000
commit31db262bac3d33c4edcd732ec43a8b1b4875b03b (patch)
tree06b28f6704b9b63b2b4cc05743128fa27bb64fe9
parentteach gdtoa & its subroutines that malloc can fail; in which case (diff)
downloadwireguard-openbsd-31db262bac3d33c4edcd732ec43a8b1b4875b03b.tar.xz
wireguard-openbsd-31db262bac3d33c4edcd732ec43a8b1b4875b03b.zip
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.