diff options
author | Rob Landley <rob@landley.net> | 2012-03-16 06:20:48 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-03-16 06:20:48 -0500 |
commit | c4849f7e354d3c685c44ac2b2a7110238b17122b (patch) | |
tree | df5495e2f1f18b7249f6c253f97a473d33a6f515 /toys/unshare.c | |
parent | bc329417f840d8073d4e5af7e2c8b23bb32e149c (diff) | |
download | toybox-c4849f7e354d3c685c44ac2b2a7110238b17122b.tar.gz |
The linux header doesn't prototype unshare, and the glibc header introduced a regression in recent versions inexplicably crediting a linux feature to the FSF, so add the prototype ourselves.
Diffstat (limited to 'toys/unshare.c')
-rw-r--r-- | toys/unshare.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toys/unshare.c b/toys/unshare.c index fceee522..1df9b758 100644 --- a/toys/unshare.c +++ b/toys/unshare.c @@ -27,6 +27,7 @@ config UNSHARE #include "toys.h" #include <linux/sched.h> +extern int unshare (int __flags); void unshare_main(void) { |