From: Jim Kingdon Date: Tue, 22 Jun 1993 21:40:17 +0000 (+0000) Subject: * hosts/std-host.h: Return value of puts and fputs is int not void. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fdebd6296a7bcca200a84963954de468126f3776;p=binutils-gdb.git * hosts/std-host.h: Return value of puts and fputs is int not void. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ee2d19a9b26..594b855b1ca 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +Tue Jun 22 16:36:51 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * hosts/std-host.h: Return value of puts and fputs is int not void. + Mon Jun 21 18:19:14 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) * elf32-target.h, elf32-hppa.c, elfcode.h: Use new diff --git a/bfd/hosts/std-host.h b/bfd/hosts/std-host.h index 48dd9c40343..30328411b64 100644 --- a/bfd/hosts/std-host.h +++ b/bfd/hosts/std-host.h @@ -37,8 +37,13 @@ extern void bcopy (); extern int bcmp (); extern void bzero (); extern PTR memset (); -extern void puts (); -extern void fputs (); + +/* These used to be declared to return void. As far as I know that is just + wrong; are there any systems for which they actually don't return a + value (EOF for error, something else for success). */ +extern int puts (); +extern int fputs (); + extern int rmdir (); extern int getuid (); extern int getgid ();