From: Manuel Luis SanmartĂ­n Rozada Date: Wed, 12 Mar 2014 14:04:39 +0000 (+0100) Subject: Fix getargs declaration to compile in AIX7 X-Git-Tag: collectd-5.4.2~29 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7fb11d646d9b4080e996d2645c8c911e843db9a6;p=collectd.git Fix getargs declaration to compile in AIX7 --- diff --git a/src/processes.c b/src/processes.c index c77859d9..c8e7b826 100644 --- a/src/processes.c +++ b/src/processes.c @@ -223,7 +223,7 @@ static int pagesize; int getprocs64 (void *procsinfo, int sizproc, void *fdsinfo, int sizfd, pid_t *index, int count); int getthrds64( pid_t, void *, int, tid64_t *, int ); #endif -int getargs (struct procentry64 *processBuffer, int bufferLen, char *argsBuffer, int argsLen); +int getargs (void *processBuffer, int bufferLen, char *argsBuffer, int argsLen); #endif /* HAVE_PROCINFO_H */ /* put name of process from config to list_head_g tree