Patch [libf2c]: random warning fixes

Toon Moene toon@moene.indiv.nluug.nl
Mon Jun 3 12:43:00 GMT 2002


"Kaveh R. Ghazi" wrote:

> Fixes:
> 
> libI77/lread.c:16: warning: `quad_read' defined but not used
> libI77/uio.c:39: warning: implicit declaration of function `memset'
> libI77/wref.c:85: warning: subscript has type `char'
> libF77/main.c:20: warning: implicit declaration of function `f_setarg'
> libF77/main.c:21: warning: implicit declaration of function `f_setsig'
> libU77/etime_.c:52: warning: `clk_tck' defined but not used
> libU77/dtime_.c:52: warning: `clk_tck' defined but not used
> 
> Note WRT libF77/main.c, normally I'd prototype functions inside a
> header, not .C module.  But for now I followed the existing convention
> inside libf2c for these implicit warnings.  Later on I'll move
> prototypes into header files in batches.
> 
> Tested on solaris2.7, ok to install?

OK - thanks !

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)



More information about the Gcc-patches mailing list