I made a timer0_pwm library for atmega16 that has these functions:
void PWM0_start(uint16 freq); // the frequency here because the timer start running by putting the prescaler which is a factor of frequency
void PWM0_setDuty(uint8 duty_perrcent);
in the main function I only used PWM0_init(); but I looked into the assembly file and I found that all the functions were written in the application code- not only the function I used-, also I found that it put all the functions from another library that I added to the directory of project even that I didn't includ it's .h file in the main file.I also found that it added the division functions that are required for these other functions but not needed for the PWM0_init() function. How can I make the compiler put the only function called and omit the rest of the unused functions from the timer0_pwm library and the other libraries?