mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 12:58:08 +01:00
wmaker: Cleaned dangerous function prototype usage
- remove extern declaration in source file, use header instead - add inclusion of header defining the functions of the file to get the compiler to cross-check them - marked static the functions that should not be visible ouside their file
This commit is contained in:
committed by
Carlos R. Mafra
parent
4b89104aca
commit
d517d5cac0
@@ -327,7 +327,6 @@ void DispatchEvent(XEvent * event)
|
||||
#define BUFF_SIZE ((sizeof(struct inotify_event) + 64)*5)
|
||||
static void handle_inotify_events(int fd, int wd)
|
||||
{
|
||||
extern void wDefaultsCheckDomains(void *);
|
||||
ssize_t eventQLength, i = 0;
|
||||
char buff[BUFF_SIZE] = { 0 };
|
||||
/* Check config only once per read of the event queue */
|
||||
|
||||
Reference in New Issue
Block a user