summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-09-09 14:09:55 +0300
committerVadim Yanitskiy <axilirator@gmail.com>2017-12-31 12:20:59 +0100
commit750c896b4a9e619bbc6f712f82b8d602a1750f96 (patch)
treeb4e2a33a0bcd8120d053afe0c2ff0a998aea8262
parent14637746d3f5a45fba4987d9892c50ca07434fd6 (diff)
libosmogapk: rename the 'logging.c' to 'common.c'
There are not so much code, related to internal logging subsystem. So, there is no reason to keep a few lines in a dedicated file. In the future one may also be used for other routines.
-rw-r--r--src/Makefile.am4
-rw-r--r--src/common.c (renamed from src/logging.c)1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 060d435..8efd165 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -76,9 +76,9 @@ libosmogapk_la_SOURCES += \
benchmark.c \
$(NULL)
-# Logging
+# Common routines
libosmogapk_la_SOURCES += \
- logging.c \
+ common.c \
$(NULL)
# libosmogapk representative application
diff --git a/src/logging.c b/src/common.c
index 96313ae..1984d29 100644
--- a/src/logging.c
+++ b/src/common.c
@@ -17,6 +17,7 @@
* along with gapk. If not, see <http://www.gnu.org/licenses/>.
*/
+/* Internal GAPK logging */
int osmo_gapk_log_init_complete = 0;
int osmo_gapk_log_subsys;