[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix some compilation warnings
From: |
Dan Nicolaescu |
Subject: |
Re: Fix some compilation warnings |
Date: |
Wed, 28 Sep 2005 10:50:27 -0700 |
"Richard M. Stallman" <address@hidden> writes:
> *** src/cm.c 7 Aug 2005 12:33:16 -0000 1.20
> --- src/cm.c 27 Sep 2005 19:11:04 -0000
> *************** Boston, MA 02110-1301, USA. */
> *** 33,39 ****
> #if defined HAVE_TERMCAP_H && 0
> #include <termcap.h>
> #else
> ! extern void tputs P_ ((const char *, int, int (*)(int)));
> extern char *tgoto P_ ((const char *, int, int));
> #endif
>
> --- 33,39 ----
> #if defined HAVE_TERMCAP_H && 0
> #include <termcap.h>
> #else
> ! extern int tputs P_ ((const char *, int, int (*)(int)));
> extern char *tgoto P_ ((const char *, int, int));
> #endif
>
> That change worries me, because I expect `void' was
> chosen for a reason. However, it may not make any difference
> unless --fwhole-program is used.
What about the rest of the patch? Can you please say if there's any
part that would you'd want checked in?