aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/std-host.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-06-22 21:40:17 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-06-22 21:40:17 +0000
commitfdebd6296a7bcca200a84963954de468126f3776 (patch)
treed9914b96dd98c1cf6d82e51099ee987566f38fbf /bfd/hosts/std-host.h
parent15012ad1313363d739abec0725d5165066e5daf8 (diff)
downloadgdb-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/std-host.h')
-rw-r--r--bfd/hosts/std-host.h9
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 ();