aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-09-09 14:48:49 +0300
committerVadim Yanitskiy <axilirator@gmail.com>2017-12-31 12:20:59 +0100
commit262ae0f98f21e91ff21f2082892f75a778d077a5 (patch)
tree2f42223a090ea88fe1f92dceabf89b2f4739db34 /src
parent5cabe1eeec55421954c052951a3dba00018af7cf (diff)
libosmogapk: drop an 'osmo' prefix from internal log variables
It would be better to have an 'osmo_gapk' prefix for exposed symbols only. Both internal logging variables aren't exposed, so they shouldn't have one.
Diffstat (limited to 'src')
-rw-r--r--src/common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common.c b/src/common.c
index 9448362..c7c5c32 100644
--- a/src/common.c
+++ b/src/common.c
@@ -28,11 +28,11 @@ void osmo_gapk_set_talloc_ctx(void *ctx)
}
/* Internal GAPK logging */
-int osmo_gapk_log_init_complete = 0;
-int osmo_gapk_log_subsys;
+int gapk_log_init_complete = 0;
+int gapk_log_subsys;
void osmo_gapk_log_init(int subsys)
{
- osmo_gapk_log_subsys = subsys;
- osmo_gapk_log_init_complete = 1;
+ gapk_log_subsys = subsys;
+ gapk_log_init_complete = 1;
}