diff options
Diffstat (limited to 'src/pcu_main.cpp')
-rw-r--r-- | src/pcu_main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp index 2d7e8ffc..d176a78c 100644 --- a/src/pcu_main.cpp +++ b/src/pcu_main.cpp @@ -17,6 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +extern "C" { #include <gprs_bssgp_pcu.h> #include <arpa/inet.h> #include <pcu_l1_if.h> @@ -26,11 +27,9 @@ #include <unistd.h> #include <getopt.h> #include <signal.h> -extern "C" { #include "pcu_vty.h" #include <osmocom/vty/telnet_interface.h> #include <osmocom/vty/logging.h> -} struct gprs_rlcmac_bts *gprs_rlcmac_bts; extern struct gprs_nsvc *nsvc; @@ -128,6 +127,8 @@ void sighandler(int sigset) } } +} /* extern "C" */ + int main(int argc, char *argv[]) { struct gprs_rlcmac_bts *bts; |