aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2010-08-13 20:47:47 +0000
committerIan Lance Taylor <ian@airs.com>2010-08-13 20:47:47 +0000
commite2054bcbe666ddc7ef69caa497864b49dbd406df (patch)
tree82cf15cb346e04aaef5ea24b66ed693c10b30093 /gold/testsuite
parenta3a7127eb04fa302eb557499b7a095a941ed2965 (diff)
downloadgdb-e2054bcbe666ddc7ef69caa497864b49dbd406df.zip
gdb-e2054bcbe666ddc7ef69caa497864b49dbd406df.tar.gz
gdb-e2054bcbe666ddc7ef69caa497864b49dbd406df.tar.bz2
* testsuite/incremental_test_1.c: Add prototype to avoid warning.
Diffstat (limited to 'gold/testsuite')
-rw-r--r--gold/testsuite/incremental_test_1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gold/testsuite/incremental_test_1.c b/gold/testsuite/incremental_test_1.c
index 58faa0e..291caa0 100644
--- a/gold/testsuite/incremental_test_1.c
+++ b/gold/testsuite/incremental_test_1.c
@@ -1,4 +1,4 @@
-// Copyright 2009 Free Software Foundation, Inc.
+// Copyright 2009, 2010 Free Software Foundation, Inc.
// Written by Rafael Avila de Espindola <espindola@google.com>
// This file is part of gold.
@@ -20,6 +20,8 @@
int a = -1;
+extern int t1(int);
+
int t1(int b)
{
return a + b;