From owner-freebsd-current Mon Apr 14 08:44:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA21767 for current-outgoing; Mon, 14 Apr 1997 08:44:11 -0700 (PDT) Received: from atena.eurocontrol.fr (atena.uneec.eurocontrol.fr [147.196.69.10]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id IAA21705 for ; Mon, 14 Apr 1997 08:44:01 -0700 (PDT) Received: by atena.eurocontrol.fr; (5.65v3.2/1.3/10May95) id AA21136; Mon, 14 Apr 1997 17:43:52 +0200 Received: (from roberto@localhost) by caerdonn.eurocontrol.fr (8.8.6.Beta0/caerdonn-1.1) id RAA13644; Mon, 14 Apr 1997 17:43:52 +0200 (CEST) Message-Id: <19970414174352.17499@caerdonn.eurocontrol.fr> Date: Mon, 14 Apr 1997 17:43:52 +0200 From: Ollivier Robert To: Bruce Evans Cc: freebsd-current@FreeBSD.org Subject: Re: undelete(2) in unistd.h conflicts with mail/extern.h References: <199704141526.BAA16626@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.67 In-Reply-To: <199704141526.BAA16626@godzilla.zeta.org.au>; from Bruce Evans on Tue, Apr 15, 1997 at 01:26:27AM +1000 X-Operating-System: FreeBSD 3.0-CURRENT Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk According to Bruce Evans: > 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. AFAIK, the right one. -lc is specified after all the object files so _undelete in cmd2.o should be picked up before the undelete.o one. -- Ollivier ROBERT -=- Eurocontrol EEC/TS -=- Ollivier.Robert@eurocontrol.fr FreeBSD caerdonn.eurocontrol.fr 3.0-CURRENT #1: Wed Apr 9 15:05:08 CEST 1997 roberto@caerdonn.eurocontrol.fr:/src/src/sys/compile/CAERDONN2 i386