about summary refs log tree commit diff
diff options
context:
space:
mode:
-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;