mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
wmaker: Replaced local declaration of system function by proper header call
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
496cb58cea
commit
91529ff1a7
@@ -25,6 +25,7 @@
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <stdlib.h>
|
||||
#include <libgen.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
@@ -556,7 +557,6 @@ static void killCallback(WMenu * menu, WMenuEntry * entry)
|
||||
WFakeGroupLeader *fPtr;
|
||||
char *buffer;
|
||||
char *shortname;
|
||||
char *basename(const char *shortname);
|
||||
|
||||
if (!WCHECK_STATE(WSTATE_NORMAL))
|
||||
return;
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <X11/Xutil.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <libgen.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <unistd.h>
|
||||
@@ -208,7 +209,6 @@ static void killCallback(WMenu *menu, WMenuEntry *entry)
|
||||
WAppIcon *icon;
|
||||
WFakeGroupLeader *fPtr;
|
||||
char *buffer, *shortname, **argv;
|
||||
char *basename(const char *shortname);
|
||||
int argc;
|
||||
|
||||
if (!WCHECK_STATE(WSTATE_NORMAL))
|
||||
|
||||
Reference in New Issue
Block a user