summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gr-run-waveform/xyzzy.cc4
-rw-r--r--gr-run-waveform/xyzzy.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/gr-run-waveform/xyzzy.cc b/gr-run-waveform/xyzzy.cc
index 903f7563c..586c8b339 100644
--- a/gr-run-waveform/xyzzy.cc
+++ b/gr-run-waveform/xyzzy.cc
@@ -209,14 +209,14 @@ make_xyzzy (SCM binary_port)
// Initialize with the data file produced by gen-xyzzy.
int
-xyzzy_init(char *filespec)
+xyzzy_init(const char *filespec)
{
return datafile.init(filespec);
}
// Does a file with name 'filename' exist in magic filesystem?
int
-xyzzy_file_exists(char *filespec)
+xyzzy_file_exists(const char *filespec)
{
return datafile.file_exists(filespec);
}
diff --git a/gr-run-waveform/xyzzy.h b/gr-run-waveform/xyzzy.h
index fd4304b97..f89696c1d 100644
--- a/gr-run-waveform/xyzzy.h
+++ b/gr-run-waveform/xyzzy.h
@@ -113,10 +113,10 @@ extern "C" {
void scm_xyzzy_init (void);
// Initialize with the data file produced by gen-xyzzy.
-int xyzzy_init(char *filename);
+int xyzzy_init(const char *filename);
// Does a file with name 'filename' exist in magic filesystem?
-int xyzzy_file_exists(char *filename);
+int xyzzy_file_exists(const char *filename);
// Make a readonly port
SCM make_xyzzy (SCM binary_port);