Subject: Re: how to avoid API namespace collisions in an ever evolving system (was: CVS commit: basesrc)
To: None <tech-userlevel@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 08/14/2002 01:15:04
> #define heapsort __stupid_libc_heapsort_that_i_will_not_use
> #include <stdlib.h>
> #undef heapsort

That works fine for heapsort.  Try it for d_ino, or dirfd(), and
<dirent.h>.

For those who don't get it - who's to say the next preempted symbol
won't be implemented as a macro?

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B