Thinking about it...

The place where functions of the library should be... is in the library... not 
in the program that include the library.
Well I wrote previous sentence, then change the order, then change it again... 
it still not so obvious to me.
But I guess it should be!

Only prototypes... should be in the program .h files.
If a function is inline... it's name should not be exported... so I believe it 
should be static too.

Maybe that's the solution... don't make inline functions external... it does 
not make a lot of sense...
but make them static... so that they are not seen outside of the program that 
use them.


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to