Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 1997 01:26:27 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-current@FreeBSD.org, roberto@eurocontrol.fr
Subject:   Re: undelete(2) in unistd.h conflicts with mail/extern.h
Message-ID:  <199704141526.BAA16626@godzilla.zeta.org.au>

index | next in thread | raw e-mail

>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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704141526.BAA16626>