From owner-cvs-all Thu Aug 2 1:11:28 2001 Delivered-To: cvs-all@freebsd.org Received: from assaris.sics.se (assaris.sics.se [193.10.66.234]) by hub.freebsd.org (Postfix) with ESMTP id E204737B401; Thu, 2 Aug 2001 01:11:18 -0700 (PDT) (envelope-from assar@assaris.sics.se) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.9.3) id KAA88318; Thu, 2 Aug 2001 10:11:00 +0200 (CEST) (envelope-from assar) To: Trevor Johnson Cc: "David E. O'Brien" , , Subject: Re: cvs commit: src/bin/chmod chmod.c References: <20010802002512.N17123-100000@blues.jpj.net> From: Assar Westerlund Date: 02 Aug 2001 10:10:59 +0200 In-Reply-To: Trevor Johnson's message of "Thu, 2 Aug 2001 00:27:02 -0400 (EDT)" Message-ID: <5lofpykhkc.fsf@assaris.sics.se> Lines: 44 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Trevor Johnson writes: > > obrien 2001/07/31 18:21:09 PDT > > > > Modified files: (Branch: RELENG_4) > > bin/chmod chmod.c > > Log: > > MFC: rev 1.19 (quiet warnings) > > > > Revision Changes Path > > 1.16.2.3 +2 -1 src/bin/chmod/chmod.c > > I'm having some trouble on i386, compiling under 4.2-RELEASE: > /usr/obj/usr/src/i386/usr/include/fts.h:48: warning: function declaration isn't a prototype Try applying this patch. /assar Index: fts.h =================================================================== RCS file: /home/ncvs/src/include/fts.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -u -w -r1.3 -r1.4 --- fts.h 1997/05/07 19:59:58 1.3 +++ fts.h 2001/06/13 14:59:57 1.4 @@ -31,6 +31,7 @@ * SUCH DAMAGE. * * @(#)fts.h 8.3 (Berkeley) 8/14/94 + * $FreeBSD: src/include/fts.h,v 1.4 2001/06/13 14:59:57 ru Exp $ */ #ifndef _FTS_H_ @@ -45,7 +46,8 @@ int fts_rfd; /* fd for root */ int fts_pathlen; /* sizeof(path) */ int fts_nitems; /* elements in the sort array */ - int (*fts_compar)(); /* compare function */ + int (*fts_compar) /* compare function */ + __P((const struct _ftsent **, const struct _ftsent **)); #define FTS_COMFOLLOW 0x001 /* follow command line symlinks */ #define FTS_LOGICAL 0x002 /* logical walk */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message