Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264002AbTE3WzH (ORCPT ); Fri, 30 May 2003 18:55:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264025AbTE3WzH (ORCPT ); Fri, 30 May 2003 18:55:07 -0400 Received: from netmail01.services.quay.plus.net ([212.159.14.219]:18641 "HELO netmail01.services.quay.plus.net") by vger.kernel.org with SMTP id S264002AbTE3WzG (ORCPT ); Fri, 30 May 2003 18:55:06 -0400 From: "Riley Williams" To: "Linus Torvalds" , =?iso-8859-1?Q?J=F6rn_Engel?= Cc: "Steven Cole" , Subject: RE: [PATCH] 2.5 Documentation/CodingStyle ANSI C function declarations. Date: Sat, 31 May 2003 00:08:32 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: Importance: Normal Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus. > The motivation for doing the ANSI-fication is just that there > is now a sanity checker tool that will complain loudly about > bad typing, and since I wrote it and I hate old-style K&R > sources, it doesn't parse them. Probably the simplest solution is to make the said tool recognise a line like... #pragma KandR ...and have it abort any file where it finds that line with some sort of warning, perhaps along the lines of... SanityCheck: Found K&R pragma, ignoring kernel/foobar.c ...or something similar. It would then be simply a case of adding the said line near the top of whichever source files are still in K&R format. Best wishes from Riley. --- * Nothing as pretty as a smile, nothing as ugly as a frown. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.484 / Virus Database: 282 - Release Date: 27-May-2003 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/