summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2017-01-19 08:08:20 -0600
committerMike Frysinger <vapier@gentoo.org>2017-01-19 08:13:37 -0600
commit68d016ae9d06dd74729c9899776cd283dcd82285 (patch)
tree085d73c7de4f5db659892900d795254192d19042 /app-emulation/ski/files
parentapp-emulation/ski: fix building w/ncurses[tinfo] (diff)
downloadgentoo-68d016ae9d06dd74729c9899776cd283dcd82285.tar.gz
gentoo-68d016ae9d06dd74729c9899776cd283dcd82285.tar.bz2
gentoo-68d016ae9d06dd74729c9899776cd283dcd82285.zip
app-emulation/ski: fix missing prototype warnings
Diffstat (limited to 'app-emulation/ski/files')
-rw-r--r--app-emulation/ski/files/ski-1.3.2-prototypes.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/app-emulation/ski/files/ski-1.3.2-prototypes.patch b/app-emulation/ski/files/ski-1.3.2-prototypes.patch
new file mode 100644
index 000000000000..b66614368708
--- /dev/null
+++ b/app-emulation/ski/files/ski-1.3.2-prototypes.patch
@@ -0,0 +1,31 @@
+fix up prototypes to avoid -Wimplicit-function-declaration warnings
+
+--- a/src/coreui.h
++++ b/src/coreui.h
+@@ -177,6 +177,7 @@
+ void stepIt_setupGtk(CTR cnt);
+
+ void runIt_setupX(void);
++void runIt_setupGtk(void);
+
+
+ /*--------------------------------------------------------------------------
+--- a/src/ssGtk.c
++++ b/src/ssGtk.c
+@@ -82,6 +82,7 @@
+
+ /* externals */
+ extern dataStart;
++ADDR iAinstAddr(ADDR baseAddr, BYTE iAmode, int delta);
+
+ static GtkLabel* instcount_label;
+ /* sits in a background loop */
+@@ -100,7 +101,7 @@
+ }
+
+
+-void runIt_setupGtk(void *data)
++void runIt_setupGtk(void)
+ {
+ g_idle_add(runItGtk, NULL);
+ stopPressed = NO;