summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--stdlib/stdlib.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 83eed18c09..e062ee839e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-02-24  Ulrich Drepper  <drepper@redhat.com>
+
+	* stdlib/stdlib.h (setstate): Don't mark argument as const (yet).
+
 2000-02-24  Andreas Jaeger  <aj@suse.de>
 
 	* include/stdlib.h: Fix prototypes of __initstate and __setstate.
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 8829106446..8857f35a20 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -410,7 +410,7 @@ extern char *initstate (unsigned int __seed, char *__statebuf,
 
 /* Switch the random number generator to state buffer STATEBUF,
    which should have been previously initialized by `initstate'.  */
-extern char *setstate (__const char *__statebuf) __THROW;
+extern char *setstate (char *__statebuf) __THROW;
 
 
 # ifdef __USE_MISC