From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: stop using P_, __P in header files Date: Fri, 02 Jul 2010 14:26:30 -0400 Message-ID: References: <4C2DB1E0.7010305@swipnet.se> <4C2DE4EF.7090101@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278095215 17311 80.91.229.12 (2 Jul 2010 18:26:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Jul 2010 18:26:55 +0000 (UTC) Cc: Juanma Barranquero , emacs-devel@gnu.org To: Jan =?iso-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 02 20:26:53 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OUkwp-0006Wc-IO for ged-emacs-devel@m.gmane.org; Fri, 02 Jul 2010 20:26:50 +0200 Original-Received: from localhost ([127.0.0.1]:45925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUkwh-0001nR-Mb for ged-emacs-devel@m.gmane.org; Fri, 02 Jul 2010 14:26:39 -0400 Original-Received: from [199.232.76.173] (port=42833 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUkwa-0001lX-Ui for emacs-devel@gnu.org; Fri, 02 Jul 2010 14:26:32 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1OUkwZ-0001Zm-RL for emacs-devel@gnu.org; Fri, 02 Jul 2010 14:26:32 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:57421) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1OUkwZ-0001Zh-EE for emacs-devel@gnu.org; Fri, 02 Jul 2010 14:26:31 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OUkwY-0003b2-L4; Fri, 02 Jul 2010 14:26:30 -0400 In-Reply-To: <4C2DE4EF.7090101@swipnet.se> ("Jan =?iso-8859-1?Q?Dj=E4rv=22?= =?iso-8859-1?Q?'s?= message of "Fri\, 02 Jul 2010 15\:09\:03 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:126707 Archived-At: Jan Dj=E4rv writes: > Juanma Barranquero skrev 2010-07-02 11.37: >> On Fri, Jul 2, 2010 at 11:31, Jan Dj=E4rv wrote: >> >> Please clean up also the w32/msdos files. We'll fix any possible breakag= e. >> >>> Should we do .c and .m files also? >> >> Yes, please, and then remove the definitions of _P and P__, which will >> no longer be necessary. >> > > Done. Thanks! (This was extremely quick!!!) I think the next step is to compile with -Wstrict-prototypes and fix up some of the prototypes that use just "()" instead of "(void)" (or the pr= oper types). [I have a patch to add -Wstrict-prototypes in configure, but that will give too many warnings while we still have K&R function definitions, so it = will wait].