summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-02-27 13:29:12 -0800
committerRoland McGrath <roland@hack.frob.com>2012-02-27 13:29:12 -0800
commit4579f81caf7fbfd17db43699e6352a8e4c26421f (patch)
treeced1bfeb1270f2b9dae7432bee229a651c985e0e
parent22f9d9df92ee5ce1f12d7bec598e718fb06b571a (diff)
Remove a spurious const in tst-fmemopen.
-rw-r--r--ChangeLog4
-rw-r--r--stdio-common/tst-fmemopen.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f64fd8262..7210eb70af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-27 Roland McGrath <roland@hack.frob.com>
+
+ * stdio-common/tst-fmemopen.c (main): Remove spurious const.
+
2012-02-27 Joseph Myers <joseph@codesourcery.com>
* manual/install.texi (--with-headers): Describe headers as
diff --git a/stdio-common/tst-fmemopen.c b/stdio-common/tst-fmemopen.c
index 8aa047e3c1..206bfd74d2 100644
--- a/stdio-common/tst-fmemopen.c
+++ b/stdio-common/tst-fmemopen.c
@@ -11,7 +11,7 @@
int
main (int argc, char **argv)
{
- const char *test_file;
+ char *test_file;
const char blah[] = "BLAH";
FILE *fp;
char *mmap_data;