From owner-freebsd-current Mon Apr 14 08:30:35 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA20926 for current-outgoing; Mon, 14 Apr 1997 08:30:35 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA20914 for ; Mon, 14 Apr 1997 08:30:27 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id BAA16626; Tue, 15 Apr 1997 01:26:27 +1000 Date: Tue, 15 Apr 1997 01:26:27 +1000 From: Bruce Evans Message-Id: <199704141526.BAA16626@godzilla.zeta.org.au> To: freebsd-current@FreeBSD.org, roberto@eurocontrol.fr Subject: Re: undelete(2) in unistd.h conflicts with mail/extern.h Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >The declaration of undelete(2) conflicts with usr.bin/mail/extern.h >declaration of undelete() (the function may be found in cmd2.c). I've >renamed it to mundelete in mail and here is a patch: Oops. Perhaps it shouldn't be declared there. Lite2 neglected to declare it and still has undelete() in cmd2.c. The problem is not simply visibility in headers. undelete() is extern in both cmd2.c and libc so it's not clear how the right one is linked. Bruce