aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-09-09 14:09:55 +0300
committerVadim Yanitskiy <axilirator@gmail.com>2017-09-10 14:51:45 +0300
commit4a77ee720a79e5e8f1e7b9e975d27c19c094b316 (patch)
treef36331dd1b26c523828044fc7e628f947c5f4ef1
parent7f1aa98a8f2da8dbe13507f763274b41824e477d (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;