If it's a true library (in gcc terminology, i.e. libsomething.a), only the functions actually used are included in the executable.
Building such a "true" library generally means putting each function that might not be needed in a separate source file, I think.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16