summaryrefslogtreecommitdiff
path: root/games/jetpack/patches/patch-update.c
blob: 8f80afb1588c0692caebdc0e706ec5772d36c0de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-update.c,v 1.1 2013/01/15 15:19:05 joerg Exp $

--- update.c.orig	2013-01-14 16:42:03.000000000 +0000
+++ update.c
@@ -4,6 +4,8 @@
 #include "copyright.h"
 #include "defs.h"
 
+static void update_player(void);
+
 int	plx, ply, burn, playerphase, playerdir, playervert, playerfuel,
 	walk, waiting, exploded, explodetimer;
 
@@ -39,7 +41,7 @@ update()
 
 /*	update_player updates the player
 */
-update_player()
+static void update_player(void)
 {
 	register int	flags;