summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-18 22:49:55 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-18 22:49:55 +0000
commitc7ee376f947ec1d3e81d49e2c4a81adf1c292c1d (patch)
tree85f22c8448fda1bc8f6cc3bd96db925f530acaa5
parent235373b727e138b5212c0b72af31d72a9577aa11 (diff)
downloaduClibc-alpine-c7ee376f947ec1d3e81d49e2c4a81adf1c292c1d.tar.bz2
uClibc-alpine-c7ee376f947ec1d3e81d49e2c4a81adf1c292c1d.tar.xz
Correct type, gcc-3.4.5 fails, thanks nitinkg for reporting/testing
-rw-r--r--libc/sysdeps/linux/common/getrusage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/getrusage.c b/libc/sysdeps/linux/common/getrusage.c
index f0476352c..c6aa5a95e 100644
--- a/libc/sysdeps/linux/common/getrusage.c
+++ b/libc/sysdeps/linux/common/getrusage.c
@@ -10,4 +10,4 @@
#include "syscalls.h"
#include <unistd.h>
#include <wait.h>
-_syscall2(int, getrusage, int, who, struct rusage *, usage);
+_syscall2(int, getrusage, __rusage_who_t, who, struct rusage *, usage);