aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-unique3.cc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-07 10:37:50 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-07 10:37:50 -0500
commit28926a1be178dd3b5811219e32b0d6b937bf21cf (patch)
tree8697c2aa813b242968f143e65a137200c712675e /elf/tst-unique3.cc
parentdf78418ad7f16500fb52f3075aada0ed9e22abe2 (diff)
downloadglibc-28926a1be178dd3b5811219e32b0d6b937bf21cf.zip
glibc-28926a1be178dd3b5811219e32b0d6b937bf21cf.tar.gz
glibc-28926a1be178dd3b5811219e32b0d6b937bf21cf.tar.bz2
Add explicit declaration of gets in C++ code
Diffstat (limited to 'elf/tst-unique3.cc')
-rw-r--r--elf/tst-unique3.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index b2c9593..ec1e814 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,4 +1,6 @@
#include "tst-unique3.h"
+extern char *gets (char *);
+
#include <cstdio>
#include "../dlfcn/dlfcn.h"