From owner-freebsd-current Mon Apr 14 23:50:10 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA20730 for current-outgoing; Mon, 14 Apr 1997 23:50:10 -0700 (PDT) Received: from helbig.informatik.ba-stuttgart.de (helbig.informatik.ba-stuttgart.de [141.31.166.22]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA20722; Mon, 14 Apr 1997 23:50:05 -0700 (PDT) Received: (from helbig@localhost) by helbig.informatik.ba-stuttgart.de (8.8.5/8.8.5) id IAA28287; Tue, 15 Apr 1997 08:49:42 +0200 (MET DST) From: Wolfgang Helbig Message-Id: <199704150649.IAA28287@helbig.informatik.ba-stuttgart.de> Subject: truncate.c breaks make world To: current@FreeBSD.ORG Date: Tue, 15 Apr 1997 08:49:42 +0200 (MET DST) Cc: wollman@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, 'make world' breaks at compiling /usr/src/lib/libc/sys/truncate.c . The prototype and definition of truncate() disagrees. Here is a reconciling patch: Index: truncate.c =================================================================== RCS file: /usr/cvsroot/src/lib/libc/sys/truncate.c,v retrieving revision 1.1.1.1 diff -r1.1.1.1 truncate.c 47,48c47,48 < char *path; < off_t length; --- > const char *path; > off_t length; Wolfgang