From e2054bcbe666ddc7ef69caa497864b49dbd406df Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 13 Aug 2010 20:47:47 +0000 Subject: [PATCH] * testsuite/incremental_test_1.c: Add prototype to avoid warning. --- gold/ChangeLog | 4 ++++ gold/testsuite/incremental_test_1.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index ddbeed65ca0..9eb928d6d3c 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2010-08-13 Ian Lance Taylor + + * testsuite/incremental_test_1.c: Add prototype to avoid warning. + 2010-08-12 Cary Coutant Doug Kwan diff --git a/gold/testsuite/incremental_test_1.c b/gold/testsuite/incremental_test_1.c index 58faa0e1106..291caa06ebe 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 // This file is part of gold. @@ -20,6 +20,8 @@ int a = -1; +extern int t1(int); + int t1(int b) { return a + b; -- 2.30.2