mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
Closes: https://bugs.gentoo.org/944252 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/41184 Signed-off-by: Sam James <sam@gentoo.org>
40 lines
659 B
Diff
40 lines
659 B
Diff
https://bugs.gentoo.org/944252
|
|
|
|
--- a/gnake.c
|
|
+++ b/gnake.c
|
|
@@ -64,14 +64,14 @@ typedef struct {
|
|
void getOptions(int argc, char *argv[]);
|
|
void DrawWindow();
|
|
void Init();
|
|
-void Step();
|
|
+void Step(int a);
|
|
void Draw();
|
|
void End();
|
|
|
|
coord getRandEmptyCell(int mandatory);
|
|
void createApple(int i);
|
|
|
|
-void Resize();
|
|
+void Resize(int a);
|
|
|
|
char *TheGameName = "Gnake 0.94b";
|
|
|
|
@@ -349,7 +349,7 @@ void CPUMove(int n) {
|
|
Snk[n].Dir = d;
|
|
}
|
|
|
|
-void Step() {
|
|
+void Step(int a) {
|
|
node *Last;
|
|
int n, c;
|
|
|
|
@@ -716,7 +716,7 @@ void Init() {
|
|
setitimer(ITIMER_REAL, &Timer, NULL);
|
|
}
|
|
|
|
-void Resize() {
|
|
+void Resize(int a) {
|
|
FILE *p;
|
|
int l, c;
|
|
|