blob: 200970cadb50f50560441e6c2d5e15d4a58af10b (
plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
|
diff --git a/Imakefile b/Imakefile
index 1ea4eca..552a85e 100644
--- a/Imakefile
+++ b/Imakefile
@@ -1,5 +1,5 @@
/**/# Cannot compile in using Gcc
-# CC = cc
+ CC = cc
SYS_LIBRARIES = MathLibrary
LOCAL_LIBRARIES = $(XLIB)
diff --git a/oneko.c b/oneko.c
index d2b81fe..207f7e2 100644
--- a/oneko.c
+++ b/oneko.c
@@ -6,6 +6,7 @@
static char rcsid[] = "$Header: /home/sun/unix/kato/xsam/oneko/oneko.c,v 1.5 90/10/19 21:25:16 kato Exp $";
#endif
+#include <unistd.h>
#include "oneko.h"
#include "patchlevel.h"
/*
@@ -335,7 +336,7 @@ char *resource;
* $@%j%=!<%9!&%G!<%?%Y!<%9$+$i%*%W%7%g%s$r@_Dj(J
*/
-GetResources()
+int GetResources()
{
char *resource;
int num;
@@ -434,7 +435,7 @@ GetResources()
* $@$M$:$_7?%+!<%=%k$r:n$k(J
*/
-MakeMouseCursor()
+int MakeMouseCursor()
{
Pixmap theCursorSource;
Pixmap theCursorMask;
@@ -463,7 +464,7 @@ MakeMouseCursor()
* $@?'$r=i4|@_Dj$9$k(J
*/
-SetupColors()
+int SetupColors()
{
XColor theExactColor;
Colormap theColormap;
|