summaryrefslogtreecommitdiff
path: root/graphics/urt/files/patch-tools__clock__rleClock.c
blob: 138771439d2a5fb617b2d353d201499cd0a95812 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
--- tools/clock/rleClock.c.orig	1992-04-30 23:19:39.000000000 +0900
+++ tools/clock/rleClock.c	2012-10-16 00:38:03.000000000 +0900
@@ -33,6 +33,7 @@
 */
 
 #include <stdio.h>
+#include <string.h>
 #include <math.h>
 #include <ctype.h>
 #include "rle.h"
@@ -133,7 +134,7 @@
  */
 
 #ifdef USE_PROTOTYPES
-void main(int argc, char *argv[]);
+int main(int argc, char *argv[]);
 void ifImageSet(int i, int j, int value, color_t *color);
 void drawHand(double place, double scale, double radius, int mask, int edge);
 void rasterAddBits(int mask, int match, int value);
@@ -156,7 +157,7 @@
 void stackPush(int x, int y, int dir);
 int stackPop(void);
 #else
-void main();
+int main();
 void ifImageSet();
 void drawHand();
 void rasterAddBits();
@@ -181,7 +182,7 @@
 #endif
 char **gargv;
 
-void
+int
 main (argc, argv)
 int	argc;
 char	*argv[];