aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1992-05-17 00:58:37 +0000
committerK. Richard Pixley <rich@cygnus>1992-05-17 00:58:37 +0000
commitbec9b335511df9f349805bf807d07b1e26d98010 (patch)
tree07a96c1d4fc810636bea1638aeda8869b29d05ac /bfd/hosts
parent36e492a64020522b579add238a8534176da20c24 (diff)
downloadfsf-binutils-gdb-bec9b335511df9f349805bf807d07b1e26d98010.zip
fsf-binutils-gdb-bec9b335511df9f349805bf807d07b1e26d98010.tar.gz
fsf-binutils-gdb-bec9b335511df9f349805bf807d07b1e26d98010.tar.bz2
fix declaration of free
Diffstat (limited to 'bfd/hosts')
-rw-r--r--bfd/hosts/sun3.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/hosts/sun3.h b/bfd/hosts/sun3.h
index d1df8d6..f85aab1 100644
--- a/bfd/hosts/sun3.h
+++ b/bfd/hosts/sun3.h
@@ -13,7 +13,11 @@
#define SEEK_SET 0
#define SEEK_CUR 1
+#ifdef __STDC__
extern void EXFUN(free,(PTR));
+#else /* not __STDC__ */
+extern int EXFUN(free,(PTR));
+#endif /* not __STDC__ */
extern int EXFUN(abort,(void));
extern int EXFUN(close,(int));
extern int EXFUN(fcntl,(int des, int cmd, int e));