aboutsummaryrefslogtreecommitdiff
path: root/libf2c/f2cext.c
diff options
context:
space:
mode:
authorCraig Burley <burley@gnu.org>1998-02-22 14:25:07 -0500
committerJeff Law <law@gcc.gnu.org>1998-02-22 12:25:07 -0700
commit6d4331962422e9333a9ca194aa9f81fc997f3cc7 (patch)
treefacdf38294937d58cfe1b183702b631ef826e62c /libf2c/f2cext.c
parent575094a2d6edced0069c17ebac487cde56816243 (diff)
downloadgcc-6d4331962422e9333a9ca194aa9f81fc997f3cc7.zip
gcc-6d4331962422e9333a9ca194aa9f81fc997f3cc7.tar.gz
gcc-6d4331962422e9333a9ca194aa9f81fc997f3cc7.tar.bz2
Various changes from Craig. See the appropriate ChangeLog files.
From-SVN: r18182
Diffstat (limited to 'libf2c/f2cext.c')
-rw-r--r--libf2c/f2cext.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libf2c/f2cext.c b/libf2c/f2cext.c
index d5ac815..fa1eff7 100644
--- a/libf2c/f2cext.c
+++ b/libf2c/f2cext.c
@@ -18,7 +18,7 @@ Boston, MA 02111-1307, USA. */
#include <f2c.h>
-typedef int (*sig_proc)(int);
+typedef void *sig_proc; /* For now, this will have to do. */
#ifdef Labort
int abort_ (void) {
@@ -98,8 +98,8 @@ ftnint iargc_ (void) {
#endif
#ifdef Lsignal
-ftnint signal_ (integer *sigp, sig_proc proc) {
- extern ftnint G77_signal_0 (integer *sigp, sig_proc proc);
+void *signal_ (integer *sigp, sig_proc proc) {
+ extern void *G77_signal_0 (integer *sigp, sig_proc proc);
return G77_signal_0 (sigp, proc);
}
#endif