wmaker: Cleaned dangerous function prototype usage
[wmaker-crm.git] / src / osdep_stub.c
blobd0349cdae22a82fd78b675316843b2290521a815
2 #include <sys/utsname.h>
4 #include <WINGs/WUtil.h>
6 #include "wconfig.h"
7 #include "funcs.h"
9 Bool GetCommandForPid(int pid, char ***argv, int *argc)
11 static int notified = 0;
13 if (!notified) {
14 struct utsname un;
16 if (uname(&un) != -1) {
17 wwarning(_("%s is not implemented on this platform; "
18 "tell wmaker-dev@windowmaker.org you are running "
19 "%s release %s version %s"), __FUNCTION__,
20 un.sysname, un.release, un.version);
21 notified = 1;
26 *argv = NULL;
27 *argc = 0;
29 return False;