fetchListFTP: implemented, but crippled

Alexey Neyman alex.neyman at auriga.ru
Sun May 25 11:23:36 PDT 2003


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?


More information about the freebsd-hackers mailing list