[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 diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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
+++ b/src/DLD-FUNCTIONS/rand.cc
@@ -101,7 +101,7 @@
F77_XFCN (setsd, SETSD, (i0, i1));
}
-static char *
+static const char *
curr_rand_dist (void)
{
if (current_distribution == uniform_dist)