public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* small libf2c cleanups
@ 1997-10-14 21:03 Richard Henderson
  1997-10-15  9:15 ` Jeffrey A Law
  0 siblings, 1 reply; 16+ messages in thread
From: Richard Henderson @ 1997-10-14 21:03 UTC (permalink / raw)
  To: egcs

Two of the changes are basicly covered by autoconf.  The signal_.c
change avoids casting a DImode pointer to SImode int on Alpha.  I
have no idea what the function is supposed to return, but what it
had been doing made no sense to me.


r~



Tue Oct 14 19:40:34 1997  Richard Henderson  <rth@cygnus.com>

	* libF77/signal_.c (G77_signal_0): Make return type sig_pf as well.
	* libI77/fio.h: Include <string.h> if STDC_HEADERS.
	* libU77/chmod_.c: Likewise.


Index: libF77/signal_.c
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/f/runtime/libF77/signal_.c,v
retrieving revision 1.1.1.1
diff -u -p -d -r1.1.1.1 signal_.c
--- signal_.c	1997/08/12 07:47:52	1.1.1.1
+++ signal_.c	1997/10/15 02:38:47
@@ -2,13 +2,13 @@
 #include "signal1.h"
 
 #ifdef KR_headers
-ftnint G77_signal_0 (sigp, proc) integer *sigp; sig_pf proc;
+sig_pf G77_signal_0 (sigp, proc) integer *sigp; sig_pf proc;
 #else
-ftnint G77_signal_0 (integer *sigp, sig_pf proc)
+sig_pf G77_signal_0 (integer *sigp, sig_pf proc)
 #endif
 {
 	int sig;
 	sig = (int)*sigp;
 
-	return (ftnint)signal(sig, proc);
+	return signal(sig, proc);
 	}
Index: libI77/fio.h
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/f/runtime/libI77/fio.h,v
retrieving revision 1.1.1.1
diff -u -p -d -r1.1.1.1 fio.h
--- fio.h	1997/08/12 07:47:53	1.1.1.1
+++ fio.h	1997/10/15 02:38:47
@@ -4,6 +4,9 @@
 /* ANSI C */
 #include <stddef.h>
 #endif
+#ifdef STDC_HEADERS
+#include <string.h>
+#endif
 
 #ifndef SEEK_SET
 #define SEEK_SET 0
Index: libU77/chmod_.c
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/f/runtime/libU77/chmod_.c,v
retrieving revision 1.2
diff -u -p -d -r1.2 chmod_.c
--- chmod_.c	1997/10/01 07:43:19	1.2
+++ chmod_.c	1997/10/15 02:38:48
@@ -31,6 +31,9 @@ Boston, MA 02111-1307, USA.  */
 #else
 #  include <stdio.h>
 #endif
+#if STDC_HEADERS
+#  include <string.h>
+#endif
 
 #include "f2c.h"
 

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~1997-10-21 11:35 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-14 21:03 small libf2c cleanups Richard Henderson
1997-10-15  9:15 ` Jeffrey A Law
1997-10-15 20:16   ` Dave Love
1997-10-16  2:35     ` Richard Henderson
1997-10-16 15:19       ` Dave Love
1997-10-17 14:36         ` Jeffrey A Law
1997-10-16 15:19       ` Jeffrey A Law
1997-10-17 12:53         ` Jim Wilson
1997-10-17 12:53           ` Richard Henderson
1997-10-17 13:57             ` Toon Moene
1997-10-18 11:26             ` Craig Burley
1997-10-19  5:42               ` Dave Love
1997-10-19 18:42                 ` Jeffrey A Law
1997-10-21 11:24                   ` Dave Love
1997-10-21 11:35                   ` Craig Burley
1997-10-17 15:05         ` Dave Love

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).