You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-wm/amiwm/files/amiwm-0.21_p2-implicts.patch

74 lines
1.5 KiB

--- 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