[Scummvm-git-logs] scummvm master -> 77a05a4d327993a06d097556b0cb16420c4de7aa

digitall noreply at scummvm.org
Mon Mar 7 20:25:13 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
77a05a4d32 GLK: QUEST: Fix Redundant Declaration Warnings


Commit: 77a05a4d327993a06d097556b0cb16420c4de7aa
    https://github.com/scummvm/scummvm/commit/77a05a4d327993a06d097556b0cb16420c4de7aa
Author: D G Turner (digitall at scummvm.org)
Date: 2022-03-07T20:24:37Z

Commit Message:
GLK: QUEST: Fix Redundant Declaration Warnings

These are emitted by GCC if -Wredundant-decls is enabled.

Changed paths:
    engines/glk/quest/geas_glk.cpp
    engines/glk/quest/geas_glk.h


diff --git a/engines/glk/quest/geas_glk.cpp b/engines/glk/quest/geas_glk.cpp
index 4e056aa734a..025c4554675 100644
--- a/engines/glk/quest/geas_glk.cpp
+++ b/engines/glk/quest/geas_glk.cpp
@@ -28,9 +28,6 @@
 namespace Glk {
 namespace Quest {
 
-void glk_put_cstring(const char *);
-
-
 winid_t mainglkwin;
 winid_t inputwin;
 winid_t bannerwin;
diff --git a/engines/glk/quest/geas_glk.h b/engines/glk/quest/geas_glk.h
index 131621af5cb..8ea57e65d24 100644
--- a/engines/glk/quest/geas_glk.h
+++ b/engines/glk/quest/geas_glk.h
@@ -82,7 +82,7 @@ extern strid_t inputwinstream;
 extern int ignore_lines;
 extern const bool use_inputwindow;
 
-extern void glk_put_cstring(const char *);
+void glk_put_cstring(const char *);
 extern void draw_banner();
 
 } // End of namespace Quest




More information about the Scummvm-git-logs mailing list