Files
wmaker/src/osdep_stub.c
T
Christophe CURISandCarlos R. Mafra d517d5cac0 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
2013-05-12 01:01:20 +01:00

31 lines
516 B
C

#include <sys/utsname.h>
#include <WINGs/WUtil.h>
#include "wconfig.h"
#include "funcs.h"
Bool GetCommandForPid(int pid, char ***argv, int *argc)
{
static int notified = 0;
if (!notified) {
struct utsname un;
if (uname(&un) != -1) {
wwarning(_("%s is not implemented on this platform; "
"tell wmaker-dev@windowmaker.org you are running "
"%s release %s version %s"), __FUNCTION__,
un.sysname, un.release, un.version);
notified = 1;
}
}
*argv = NULL;
*argc = 0;
return False;
}