조홍식/책임연구원/SW Security개발실 SW Security TP <hongsik.jo@xxxxxxx> wrote: > > Libraries should not pollute the namespace like this. > I completely agree with your opinion. > As you mentioned, I checked the only Cmake build has the problem. And It is the approprate to fix in jansson. I'll try to report it to jansson. > > I believe that it could be reasonable approach avoding duplicated naming when such explicit symbol collisions are recognized, regardless of whether you are a library user or maintainer. But it's not a mandatory and up to you. Sure, but if you assume libraries that export generic names, then both hashtable_del or hashtable_delete could clash in the future. If anything, we need to prefix *ALL* non-static functions with ulogd_ or similar, which is huge churn and should not be needed given ulogd isn't a library, i.e. all applications in existence would have to do it. And it would still be a problem in jansson.