aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/hosts/std-host.h9
2 files changed, 11 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ee2d19a..594b855 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 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 ();