aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/testsuite/incremental_test_1.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index ddbeed6..9eb928d 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-13 Ian Lance Taylor <iant@google.com>
+
+ * testsuite/incremental_test_1.c: Add prototype to avoid warning.
+
2010-08-12 Cary Coutant <ccoutant@google.com>
Doug Kwan <dougkwan@google.com>
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;