aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/solib-weak.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/solib-weak.c')
-rw-r--r--gdb/testsuite/gdb.base/solib-weak.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/solib-weak.c b/gdb/testsuite/gdb.base/solib-weak.c
index f54ea3d..c1ee8d4 100644
--- a/gdb/testsuite/gdb.base/solib-weak.c
+++ b/gdb/testsuite/gdb.base/solib-weak.c
@@ -15,6 +15,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+extern void foo (void);
+
int
main()
{