Convert gprs_debug.cpp to C

Change-Id: I142b870abda36950db5ff296c7c22228b0b11f55
This commit is contained in:
Pau Espin 2022-11-21 13:06:36 +01:00
parent 343c0ee8d9
commit 6114da0075
3 changed files with 7 additions and 7 deletions

View File

@ -39,7 +39,7 @@ AM_LDFLAGS = -lrt
noinst_LTLIBRARIES = libgprs.la
libgprs_la_SOURCES = \
gprs_debug.cpp \
gprs_debug.c \
csn1.c \
csn1_dec.c \
csn1_enc.c \

View File

@ -1,7 +1,8 @@
/* gprs_debug.cpp
/* gprs_debug.c
*
* Copyright (C) 2012 Ivan Klyuchnikov
* Copyright (C) 2019 Harald Welte <laforge@gnumonks.org>
* Copyright (C) 2022 by sysmocom - s.f.m.c. GmbH <info@sysmocom.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@ -14,10 +15,8 @@
* GNU General Public License for more details.
*/
extern "C" {
#include <osmocom/core/utils.h>
#include <osmocom/core/logging.h>
}
#include <gprs_debug.h>

View File

@ -19,9 +19,6 @@
extern "C" {
#endif
#include <osmocom/core/logging.h>
#ifdef __cplusplus
};
#endif
/* we used to have DBSSGP definded in each application, and applications telling
* libosmogb which sub-system to use. That creates problems and has been deprecated */
@ -48,3 +45,7 @@ enum {
};
extern const struct log_info gprs_log_info;
#ifdef __cplusplus
};
#endif