From owner-cvs-all Tue Jan 7 22:40:37 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D91B037B401; Tue, 7 Jan 2003 22:40:36 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4829C43ED1; Tue, 7 Jan 2003 22:40:36 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h086eZfh038049; Tue, 7 Jan 2003 22:40:35 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h086eZmI038043; Tue, 7 Jan 2003 22:40:35 -0800 (PST) Message-Id: <200301080640.h086eZmI038043@repoman.freebsd.org> From: Peter Wemm Date: Tue, 7 Jan 2003 22:40:35 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/diff prepend_args.c X-FreeBSD-CVS-Branch: HEAD 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 peter 2003/01/07 22:40:35 PST Modified files: contrib/diff prepend_args.c Log: Add #include "diff.h" in order to get the prototype for xmalloc(). The corresponding warning has been ignored for ages: prepend_args.c:75: warning: initialization makes pointer from integer without a cast This is fatal on ia64. You cannot convert an implicit int return from an undeclared function to a pointer as you've lost the upper 32 bits. On ia64, the warning is "pointer from different sized integer". (This file is not vendor branched) Revision Changes Path 1.2 +1 -0 src/contrib/diff/prepend_args.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message