From fdebd6296a7bcca200a84963954de468126f3776 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 22 Jun 1993 21:40:17 +0000 Subject: [PATCH] * hosts/std-host.h: Return value of puts and fputs is int not void. --- bfd/ChangeLog | 4 ++++ bfd/hosts/std-host.h | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) 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 (); -- 2.30.2