changeset 548:99cb6ad605ee

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.
author Rob Landley <rob@landley.net>
date Fri, 16 Mar 2012 06:20:48 -0500
parents 611612a1dd83
children 1f5bd8c93093
files toys/unshare.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/toys/unshare.c	Thu Mar 15 20:49:11 2012 -0500
+++ b/toys/unshare.c	Fri Mar 16 06:20:48 2012 -0500
@@ -27,6 +27,7 @@
 
 #include "toys.h"
 #include <linux/sched.h>
+extern int unshare (int __flags);
 
 void unshare_main(void)
 {