[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cleaning up for -Wredundant-decls

From: Dmitry Antipov
Subject: Cleaning up for -Wredundant-decls
Date: Tue, 17 Jun 2014 13:02:50 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Since it's quite typical for a mature project to have global namespace polluted
with old unused and duplicated declarations, I would like to enable 
when --enable-gcc-warnings is turned on. This task may be accomplished in three 

00) Tweak make-docfile to avoid EXFUN anywhere except generated globals.h,
    and change DEFUN to avoid conflict with EXFUN;
01) Fix components comes from gnulib;
02) Fix the rest, offloading lisp.h where possible.

If there is a chance that 01) will be incorporated into gnulib and there are no
objections for the rest, I'll do 00) and 02) as proposed in the patches below.


Attachment: 00_base_Wredundant_decls.patch
Description: Text Data

Attachment: 01_lib_Wredundant_decls.patch
Description: Text Data

Attachment: 02_common_Wredundant_decls.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]