X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=libiberty%2Fvfork.c;h=eb4ff622b44f5ba6100b64f8ccf1d5880b670c52;hb=97a8d0ab534d0353c8585816fe400ef2a468c30a;hp=7df7a22626066bee874fee80ef350a882c6a0719;hpb=39423523167c47f72822dbb9eb3ab4a0dfeafe68;p=binutils-gdb.git diff --git a/libiberty/vfork.c b/libiberty/vfork.c index 7df7a226260..eb4ff622b44 100644 --- a/libiberty/vfork.c +++ b/libiberty/vfork.c @@ -3,7 +3,7 @@ /* -@deftypefn Supplemental int vfork () +@deftypefn Supplemental int vfork (void) Emulates @code{vfork} by calling @code{fork} and returning its value. @@ -13,10 +13,10 @@ Emulates @code{vfork} by calling @code{fork} and returning its value. #include "ansidecl.h" -extern int fork PARAMS ((void)); +extern int fork (void); int -vfork () +vfork (void) { return (fork ()); }