changeset 3571:f2e2faef1220

[project @ 2000-02-03 11:39:10 by jwe]
author jwe
date Thu, 03 Feb 2000 11:39:10 +0000
parents f74d9dfec96f
children 8d641545e006
files src/ChangeLog src/DLD-FUNCTIONS/rand.cc
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Feb 03 11:27:11 2000 +0000
+++ b/src/ChangeLog	Thu Feb 03 11:39:10 2000 +0000
@@ -1,5 +1,8 @@
 2000-02-03  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
+	* DLD-FUNCTIONS/rand.cc (curr_rand_dist): Return const char *
+	instead of char *.
+
 	* oct-fstrm.cc (octave_fstream::seek, octave_fstream::tell): 
 	Call pubseekoff instead of seekoff.
 
--- a/src/DLD-FUNCTIONS/rand.cc	Thu Feb 03 11:27:11 2000 +0000
+++ b/src/DLD-FUNCTIONS/rand.cc	Thu Feb 03 11:39:10 2000 +0000
@@ -101,7 +101,7 @@
   F77_XFCN (setsd, SETSD, (i0, i1));
 }
 
-static char *
+static const char *
 curr_rand_dist (void)
 {
   if (current_distribution == uniform_dist)