summaryrefslogtreecommitdiff
blob: 4a01347d0e86a1536144ba0c65b9f4635c913ec7 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
--- a/main.c
+++ b/main.c
@@ -131,6 +131,7 @@
 extern void read_rc_file(char *filename, int manage_all);
 extern void init_modules();
 extern void flushmodules();
+extern void closescreen();
 extern void raiselowerclient(Client *, int);
 
 #ifndef AMIGAOS
--- a/menu.c
+++ b/menu.c
@@ -45,6 +45,11 @@
 extern void mod_menuselect(struct module *, int, int, int);
 extern void setfocus(Window);
 extern void flushmodules();
+extern void openscreen(char *, Window);
+extern void realizescreens(void);
+extern void screentoback();
+extern void wberror(Scrn *, char *);
+extern void closescreen();
 
 Scrn *mbdclick=NULL, *mbdscr=NULL;
 
--- a/icc.c
+++ b/icc.c
@@ -6,6 +6,7 @@
 #include "prefs.h"
 
 #include <string.h>
+#include <stdlib.h>
 
 #ifdef AMIGAOS
 #include <pragmas/xlib_pragmas.h>
--- a/libami/lists.c
+++ b/libami/lists.c
@@ -1,3 +1,4 @@
+#include <string.h>
 #include "libami.h"
 
 #ifndef AMIGAOS
--- a/kbdmodule.y
+++ b/kbdmodule.y
@@ -2,6 +2,8 @@
 #include <stdio.h>
 #include <string.h>
 #include "libami.h"
+int yyerror(char *);
+int yylex (void);
 
 void docmd(XEvent *e, void *callback)
 {
--- a/gram.y
+++ b/gram.y
@@ -8,6 +8,8 @@
 #include "screen.h"
 #include "icc.h"
 #include "style.h"
+int yyerror(char *);
+int yylex (void);
 extern void set_sys_palette(void);
 extern void set_mwb_palette(void);
 extern void set_schwartz_palette(void);
--- a/ppmtoinfo.c
+++ b/ppmtoinfo.c
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <time.h>
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif