From d4075b188d9834c9901639f517aebf38ee584ee0 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 22 Jun 2019 10:33:37 -0700 Subject: GLK: ALAN2: Further gcc warning fixes --- engines/glk/alan2/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/glk/alan2/main.cpp') 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); } -- cgit v1.2.3