summaryrefslogtreecommitdiff
path: root/src/linux/wait4.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-15 14:39:02 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-15 14:39:02 -0500
commit9b235e8374bfe15f73d470b4ad7d1c579fd9a71e (patch)
tree5957c33f52d8d5145b8a65562c6a3e2338a34c35 /src/linux/wait4.c
parent44460c6d1eb1233f6598229d787d179c095b053f (diff)
downloadmusl-9b235e8374bfe15f73d470b4ad7d1c579fd9a71e.tar.gz
musl-9b235e8374bfe15f73d470b4ad7d1c579fd9a71e.tar.bz2
musl-9b235e8374bfe15f73d470b4ad7d1c579fd9a71e.tar.xz
musl-9b235e8374bfe15f73d470b4ad7d1c579fd9a71e.zip
remove standalone syscall cruft
this was originally written for an early draft of the library where non-standard functions would reside in a static library separate from the shared libc.so, which would implement a pure standard. the idea was not to depend on an implementation-dependent __syscall_ret function in the main libc. but it turned out to be better to put everything in a single library for both static and dynamic linking uses, and thus the (incomplete) remnants of this feature were just enlarging the source and binary.
Diffstat (limited to 'src/linux/wait4.c')
-rw-r--r--src/linux/wait4.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/linux/wait4.c b/src/linux/wait4.c
index dda942d3..5dd505a9 100644
--- a/src/linux/wait4.c
+++ b/src/linux/wait4.c
@@ -1,7 +1,6 @@
#include <sys/wait.h>
#include <sys/resource.h>
#include <string.h>
-#define SYSCALL_STANDALONE
#include "syscall.h"
pid_t wait4(pid_t pid, int *status, int options, struct rusage *usage)