diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ee2d19a9b2..594b855b1c 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 48dd9c4034..30328411b6 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 ();