Re: Controlling exported symbol on shared libraries

2010-03-23 Thread Ted Unangst
On Tue, Mar 23, 2010 at 9:11 AM, Christiano F. Haesbaert wrote: > I'm building a shared library and I'm not sure how to control which > symbols I want to have exported, what's the common practice ? I took a > look at libevent, libmenu and libpcap and it seems they do nothing. > > Should I just use

Controlling exported symbol on shared libraries

2010-03-23 Thread Christiano F. Haesbaert
Hi there, I'm building a shared library and I'm not sure how to control which symbols I want to have exported, what's the common practice ? I took a look at libevent, libmenu and libpcap and it seems they do nothing. Should I just use the prefix "_" for internal symbols ? Yes I realize static st