[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix some compilation warnings
From: |
Richard M. Stallman |
Subject: |
Re: Fix some compilation warnings |
Date: |
Wed, 28 Sep 2005 13:10:12 -0400 |
*** 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.