diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-06-22 21:40:17 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-06-22 21:40:17 +0000 |
commit | fdebd6296a7bcca200a84963954de468126f3776 (patch) | |
tree | d9914b96dd98c1cf6d82e51099ee987566f38fbf /bfd/hosts | |
parent | 15012ad1313363d739abec0725d5165066e5daf8 (diff) | |
download | gdb-fdebd6296a7bcca200a84963954de468126f3776.zip gdb-fdebd6296a7bcca200a84963954de468126f3776.tar.gz gdb-fdebd6296a7bcca200a84963954de468126f3776.tar.bz2 |
* hosts/std-host.h: Return value of puts and fputs is int not void.
Diffstat (limited to 'bfd/hosts')
-rw-r--r-- | bfd/hosts/std-host.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bfd/hosts/std-host.h b/bfd/hosts/std-host.h index 48dd9c4..3032841 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 (); |