From owner-cvs-all Mon Apr 26 0: 0:27 1999 Delivered-To: cvs-all@freebsd.org Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (Postfix) with ESMTP id 2E50A14CF1; Mon, 26 Apr 1999 00:00:21 -0700 (PDT) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (root@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.2/8.9.2) with ESMTP id HAA48696; Mon, 26 Apr 1999 07:59:34 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id HAA37930; Mon, 26 Apr 1999 07:59:21 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199904260659.HAA37930@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Warner Losh Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/fsdb fsdb.c src/sbin/natd natd.c src/sbin/ping ping.c In-reply-to: Your message of "Sun, 25 Apr 1999 15:33:31 PDT." <199904252233.PAA36395@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 26 Apr 1999 07:59:20 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > imp 1999/04/25 15:33:31 PDT > > Modified files: > sbin/fsdb fsdb.c > sbin/natd natd.c > sbin/ping ping.c > Log: > More egcs warning fixes: > o main returns int not void > o use braces to avoid potentially ambiguous else > > Note: The fix to natd is potentially functional in nature since I used > the indentation as the right thing rather than the struct semantics. > Someone more familiar with the code should double check me on this one. Looks like a bug fix to me ;-) Thanks. > Reviewed by: obrien and chuckr > > Revision Changes Path > 1.12 +2 -2 src/sbin/fsdb/fsdb.c > 1.15 +5 -5 src/sbin/natd/natd.c > 1.43 +3 -2 src/sbin/ping/ping.c -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message