merge from gcc
[binutils-gdb.git] / libiberty / vfork.c
index 86c45919f660f5a6ba106f3035a5908819eac38b..4aa5c21d42714793fab1de8a42180f66a7f03af9 100644 (file)
@@ -1,6 +1,20 @@
 /* Emulate vfork using just plain fork, for systems without a real vfork.
    This function is in the public domain. */
 
+/*
+
+@deftypefn Supplemental int vfork (void)
+
+Emulates @code{vfork} by calling @code{fork} and returning its value.
+
+@end deftypefn
+
+*/
+
+#include "ansidecl.h"
+
+extern int fork PARAMS ((void));
+
 int
 vfork ()
 {