Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2003 22:23:31 +0400
From:      Alexey Neyman <alex.neyman@auriga.ru>
To:        kientzle@acm.org, Dag-Erling Smorgrav <des@ofug.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: fetchListFTP: implemented, but crippled
Message-ID:  <200305252223.31923.alex.neyman@auriga.ru>
In-Reply-To: <3ED1049B.8010409@acm.org>
References:  <3ECEFA18.7060706@acm.org> <xzpfzn39wc9.fsf@flood.ping.uio.no> <3ED1049B.8010409@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?



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