aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan2/main.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-06-22 10:33:37 -0700
committerPaul Gilbert2019-06-22 14:40:50 -0700
commitd4075b188d9834c9901639f517aebf38ee584ee0 (patch)
treef98e241b5e992ca0208192a2b8b1cb7ca31c4199 /engines/glk/alan2/main.cpp
parent8b509bbfee6d9c82d8f05e569f61f5781917cbda (diff)
downloadscummvm-rg350-d4075b188d9834c9901639f517aebf38ee584ee0.tar.gz
scummvm-rg350-d4075b188d9834c9901639f517aebf38ee584ee0.tar.bz2
scummvm-rg350-d4075b188d9834c9901639f517aebf38ee584ee0.zip
GLK: ALAN2: Further gcc warning fixes
Diffstat (limited to 'engines/glk/alan2/main.cpp')
-rw-r--r--engines/glk/alan2/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/alan2/main.cpp b/engines/glk/alan2/main.cpp
index 56e5f72dc8..f0c2d0e73e 100644
--- a/engines/glk/alan2/main.cpp
+++ b/engines/glk/alan2/main.cpp
@@ -224,7 +224,7 @@ void statusline() {
Print some text and log it if logging is on.
*/
-void logprint(char str[]) {
+static void logprint(const char str[]) {
printf(str);
if (logflg)
fprintf(logfil, "%s", str);
@@ -293,7 +293,7 @@ void *allocate(unsigned long len /* IN - Length to allocate */) {
Justify a string so that it wraps at end of screen.
*/
-static void just(char str[]) {
+static void just(const char str[]) {
logprint(str);
}