[PATCH] [RFC] src: add prefix osmocom_ to all functions in libosmocore

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

246tnt at gmail.com 246tnt at gmail.com
Sun Mar 27 20:16:12 UTC 2011


Hi,

> This patch is a RFC, I can add the prefix osmocom_ to all functions
> in libosmocore to fix with the existing namespace pollution.

Well, use osmo_ not osmocom_ (that's what's used at several places already).

Second, I wouldn't say _all_ ...
I mean when there is already a prefix, I see no point adding another  
(things like msgb_, vty_, bitvec_, log_, gsmtap_, rsl_, gsm48_ ...).

For things that are too generic, like 'generate_backtrace'  
or 'plugin_load_all', then sure.


Sylvain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20110327/6f3a3440/attachment.htm>


More information about the OpenBSC mailing list