diff options
author | Ian Lance Taylor <ian@airs.com> | 2010-08-13 20:47:47 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2010-08-13 20:47:47 +0000 |
commit | e2054bcbe666ddc7ef69caa497864b49dbd406df (patch) | |
tree | 82cf15cb346e04aaef5ea24b66ed693c10b30093 /gold/testsuite | |
parent | a3a7127eb04fa302eb557499b7a095a941ed2965 (diff) | |
download | gdb-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.c | 4 |
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; |