Subject: Re: how to handle namespace cleanup
To: J.T. Conklin <firstname.lastname@example.org>
From: Bakul Shah <email@example.com>
Date: 12/06/1994 17:16:09
> My question is should the function, lets use isinf() for this example,
> be renamed _isinf() and stay in isinf.c, while the indirect symbol
> mapping is put in _isinf.c. Or should isinf.c be moved to _isinf.c,
> isinf() renamed to _isinf(), and the indirect symbol mapping put in
> isinf.c; with the second, the filenames match the functions inside
> them. Or does anyone have any better sugesstions?
Or compile them twice, changing a global define. Something like
asm(" isinf .equ _isinf"); /* add more leading _ to taste */
# ifdef _INTERNAL_
# define isinf _isinf
Okay, compile them one more time than they are already compiled!