diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2021-01-24 09:26:53 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2021-01-24 09:26:53 +0000 |
commit | a3731514297b9cdb088fd25521a4233d5c19a7d5 (patch) | |
tree | cbf604011f3fdf291dd2e25c3b2d89fc6ecedad5 /app/fvwm/modules | |
parent | 15cbc0bb6b959590baa0c82e9aecdd6e9ebb602b (diff) |
Add missing function prototypes
Diffstat (limited to 'app/fvwm/modules')
-rw-r--r-- | app/fvwm/modules/FvwmWinList/ButtonArray.c | 2 | ||||
-rw-r--r-- | app/fvwm/modules/FvwmWinList/ButtonArray.h | 2 | ||||
-rw-r--r-- | app/fvwm/modules/FvwmWinList/List.h | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/app/fvwm/modules/FvwmWinList/ButtonArray.c b/app/fvwm/modules/FvwmWinList/ButtonArray.c index e9b54b714..ef9776d84 100644 --- a/app/fvwm/modules/FvwmWinList/ButtonArray.c +++ b/app/fvwm/modules/FvwmWinList/ButtonArray.c @@ -17,9 +17,11 @@ #include <stdlib.h> #include <stdio.h> #include <X11/Xlib.h> +#include <X11/Xproto.h> #include "../../libs/fvwmlib.h" +#include "FvwmWinList.h" #include "ButtonArray.h" #include "Mallocs.h" diff --git a/app/fvwm/modules/FvwmWinList/ButtonArray.h b/app/fvwm/modules/FvwmWinList/ButtonArray.h index 119805ea4..0f90fa92f 100644 --- a/app/fvwm/modules/FvwmWinList/ButtonArray.h +++ b/app/fvwm/modules/FvwmWinList/ButtonArray.h @@ -40,6 +40,7 @@ int AddButton(ButtonArray *array, char *title, FvwmPicture *p,int up); int UpdateButton(ButtonArray *array, int butnum, char *title, int up); int UpdateButtonPicture(ButtonArray *array, int butnum, FvwmPicture *p); int UpdateButtonSet(ButtonArray *array, int butnum, int set); +int UpdateButtonDesk(ButtonArray *array, int butnum, long desk); void RemoveButton(ButtonArray *array, int butnum); Button *find_n(ButtonArray *array, int n); void FreeButton(Button *ptr); @@ -47,5 +48,6 @@ void FreeAllButtons(ButtonArray *array); void DoButton(Button *ptr, int x, int y, int w, int h); void DrawButtonArray(ButtonArray *array, int all); void SwitchButton(ButtonArray *array,int butnum); +void RadioButton(ButtonArray *array, int butnum); int WhichButton(ButtonArray *array,int x, int y); void PrintButtons(ButtonArray *array); diff --git a/app/fvwm/modules/FvwmWinList/List.h b/app/fvwm/modules/FvwmWinList/List.h index 2467d134f..1972d02af 100644 --- a/app/fvwm/modules/FvwmWinList/List.h +++ b/app/fvwm/modules/FvwmWinList/List.h @@ -44,6 +44,7 @@ void PrintList(List *list); char *ItemName(List *list, int n); long ItemFlags(List *list, long id ); long ItemFlags(List *list, long id ); +long ItemDesk(List *list, long id); long XorFlags(List *list, int n, long value); int ItemCount(List *list); int ItemCountDesk(List *list, long desk); |