1
0
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:
Christophe CURIS
2013-06-30 16:02:38 +02:00
committed by Carlos R. Mafra
parent 496cb58cea
commit 91529ff1a7
2 changed files with 2 additions and 2 deletions

View File

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

View File

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