From owner-freebsd-hackers@FreeBSD.ORG Sun May 25 11:23:36 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F421237B401 for ; Sun, 25 May 2003 11:23:35 -0700 (PDT) Received: from mail.auriga.ru (mail.auriga.ru [80.240.102.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61E7243F85 for ; Sun, 25 May 2003 11:23:35 -0700 (PDT) (envelope-from alex.neyman@auriga.ru) Received: from mail.loopback.interface ([127.0.0.1] helo=vagabond.auriga.ru) by mail.auriga.ru with esmtp (Exim 4.14) id 19K0CP-0005EN-Hq; Sun, 25 May 2003 22:26:25 +0400 From: Alexey Neyman Organization: Auriga, Inc. To: kientzle@acm.org, Dag-Erling Smorgrav Date: Sun, 25 May 2003 22:23:31 +0400 User-Agent: KMail/1.5.1 References: <3ECEFA18.7060706@acm.org> <3ED1049B.8010409@acm.org> In-Reply-To: <3ED1049B.8010409@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305252223.31923.alex.neyman@auriga.ru> cc: freebsd-hackers@freebsd.org Subject: Re: fetchListFTP: implemented, but crippled X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2003 18:23:36 -0000 Hi, there! On Sunday 25 May 2003 21:59, Tim Kientzle wrote: TK> right: modify those functions to emit a warning message TK> whenever they're used (ideally, whenever they're linked TK> with, which might be possible with gcc these days?): TK> Warning: fetchList() is deprecated and will be removed TK> from libfetch on January 1, 2004. Use fetchList2() instead. I believe that's what __warn_references() macro is for (sys/cdefs.h): __warn_references(fetchList, "It gonna die, die!") Regards, Alexey. -- A quoi ca sert d'etre sur la terre Si c'est pour faire nos vies a genoux?