From owner-freebsd-current Sun Dec 21 06:13:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA03692 for current-outgoing; Sun, 21 Dec 1997 06:13:18 -0800 (PST) (envelope-from owner-freebsd-current) Received: from helios.dnttm.ru (root@dnttm.wave.ras.ru [194.85.104.197]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA03684 for ; Sun, 21 Dec 1997 06:13:10 -0800 (PST) (envelope-from dima@tejblum.dnttm.rssi.ru) Received: (from uucp@localhost) by helios.dnttm.ru (8.8.5/8.8.5/IP-3) with UUCP id RAA22279 for freebsd-current@FreeBSD.ORG; Sun, 21 Dec 1997 17:07:20 +0300 Received: from tejblum.dnttm.rssi.ru (localhost [127.0.0.1]) by tejblum.dnttm.rssi.ru (8.8.8/8.8.7) with ESMTP id RAA02332 for ; Sun, 21 Dec 1997 17:09:08 +0300 (MSK) (envelope-from dima@tejblum.dnttm.rssi.ru) Message-Id: <199712211409.RAA02332@tejblum.dnttm.rssi.ru> X-Mailer: exmh version 2.0gamma 1/27/96 To: freebsd-current@FreeBSD.ORG Subject: Re: Bruce vandalism again In-reply-to: Your message of "Sun, 21 Dec 1997 11:02:36 +0100." <199712211002.LAA00388@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Date: Sun, 21 Dec 1997 17:09:08 +0300 From: Dmitrij Tejblum Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Joerg Wunsch wrote: > I think gcc even warns some (all?) possible problems iff the old-style > definition is inconsistent with the ANSI prototype (from the .h file). Yes. It also warns if there was no ANSI prototype for a function. (Btw, prototypes not necessary has to be in .h file. Prototypes for private functions go at the top of the source module (from style(9))) So, i see no reason to convert files from K&R to ANSI. If there were no warnings, the program already "sane" enough, and converting it to ANSI would not make it more "sane". Dima