aboutsummaryrefslogtreecommitdiffstats
path: root/astro/luna/files/patch-ah
blob: 6467f053a898f8b1354a40a2e965ff067e5ab176 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- luna.h~ 1992-05-25 00:48:34.000000000 +0200
+++ luna.h  2011-12-20 19:57:27.963178999 +0100
@@ -32,7 +32,7 @@
 
 
 #if defined(ANSI)
-   extern void     main(int argc, char **argv);
+   extern int      main(int argc, char **argv);
    extern void     drawluna(int aotmoon);
    extern void     usage(void);
    extern void     getoptions(int argc, char **argv,
@@ -40,7 +40,7 @@
    extern int      getext(int year, int mon, int day);
    extern void     printextstate(int age);
 #else
-   extern void     main();
+   extern int      main();
    extern void     drawluna();
    extern void     usage();
    extern void     getoptions();