projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df78418
)
Add explicit declaration of gets in C++ code
author
Ulrich Drepper
<drepper@gmail.com>
Sat, 7 Jan 2012 15:37:50 +0000
(10:37 -0500)
committer
Ulrich Drepper
<drepper@gmail.com>
Sat, 7 Jan 2012 15:37:50 +0000
(10:37 -0500)
ChangeLog
patch
|
blob
|
history
elf/tst-unique3.cc
patch
|
blob
|
history
elf/tst-unique3lib.cc
patch
|
blob
|
history
elf/tst-unique3lib2.cc
patch
|
blob
|
history
elf/tst-unique4.cc
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
3c76249
..
cafa830
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,5
+1,10
@@
2012-01-07 Ulrich Drepper <drepper@gmail.com>
+ * elf/tst-unique3.cc: Add explicit declaration of gets.
+ * elf/tst-unique3lib.cc: Likewise.
+ * elf/tst-unique3lib2.cc: Likewise.
+ * elf/tst-unique4.cc: Likewise.
+
* string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2012-01-03 Ulrich Drepper <drepper@gmail.com>
diff --git
a/elf/tst-unique3.cc
b/elf/tst-unique3.cc
index
b2c9593
..
ec1e814
100644
(file)
--- 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"
diff --git
a/elf/tst-unique3lib.cc
b/elf/tst-unique3lib.cc
index
fa8e85a
..
5429dc5
100644
(file)
--- a/
elf/tst-unique3lib.cc
+++ b/
elf/tst-unique3lib.cc
@@
-1,3
+1,5
@@
+extern char *gets (char *);
+
#include <cstdio>
#include "tst-unique3.h"
template<typename T> int S<T>::i = 1;
diff --git
a/elf/tst-unique3lib2.cc
b/elf/tst-unique3lib2.cc
index
17d817e
..
76dadca
100644
(file)
--- a/
elf/tst-unique3lib2.cc
+++ b/
elf/tst-unique3lib2.cc
@@
-1,3
+1,5
@@
+extern char *gets (char *);
+
#include <cstdio>
#include "tst-unique3.h"
diff --git
a/elf/tst-unique4.cc
b/elf/tst-unique4.cc
index
9eaa909
..
e38ae83
100644
(file)
--- a/
elf/tst-unique4.cc
+++ b/
elf/tst-unique4.cc
@@
-1,5
+1,7
@@
// BZ 12511
#include "tst-unique4.h"
+extern char *gets (char *);
+
#include <cstdio>
static int a[24] =