diff --git a/openbsc/include/openbsc/gtphub.h b/openbsc/include/openbsc/gtphub.h index 77e43e46a..fa63a20cb 100644 --- a/openbsc/include/openbsc/gtphub.h +++ b/openbsc/include/openbsc/gtphub.h @@ -408,7 +408,7 @@ struct gtphub { struct nr_map tei_map[GTPH_PLANE_N]; struct nr_pool tei_pool[GTPH_PLANE_N]; - struct llist_head ggsn_lookups; /* opaque (gtphub_ext.c) */ + struct llist_head ggsn_lookups; /* opaque (gtphub_ares.c) */ struct llist_head resolved_ggsns; /* struct gtphub_resolved_ggsn */ struct osmo_timer_list gc_timer; diff --git a/openbsc/src/gprs/Makefile.am b/openbsc/src/gprs/Makefile.am index 5e115eb50..634948dfb 100644 --- a/openbsc/src/gprs/Makefile.am +++ b/openbsc/src/gprs/Makefile.am @@ -34,7 +34,7 @@ osmo_sgsn_LDADD = \ -lgtp $(OSMO_LIBS) $(LIBOSMOABIS_LIBS) $(LIBCARES_LIBS) \ $(LIBCRYPTO_LIBS) -lrt -osmo_gtphub_SOURCES = gtphub_main.c gtphub.c gtphub_ext.c gtphub_vty.c \ +osmo_gtphub_SOURCES = gtphub_main.c gtphub.c gtphub_ares.c gtphub_vty.c \ sgsn_ares.c gprs_utils.c osmo_gtphub_LDADD = \ $(top_builddir)/src/libcommon/libcommon.a \ diff --git a/openbsc/src/gprs/gtphub_ext.c b/openbsc/src/gprs/gtphub_ares.c similarity index 96% rename from openbsc/src/gprs/gtphub_ext.c rename to openbsc/src/gprs/gtphub_ares.c index 5ed15fc26..4cacf88fd 100644 --- a/openbsc/src/gprs/gtphub_ext.c +++ b/openbsc/src/gprs/gtphub_ares.c @@ -3,9 +3,11 @@ /* (C) 2015 by sysmocom s.f.m.c. GmbH * All Rights Reserved * - * gtphub_ext.c -- ext means extern. This file is kept separate so that these - * functions can be wrapped for gtphub_test.c. When a function and its callers - * are in the same compilational unit, the wrappability may be optimized away. + * gtphub_ares.c. + * + * This file is kept separate so that these functions can be wrapped for + * gtphub_test.c. When a function and its callers are in the same compilational + * unit, the wrappability may be optimized away. * * Author: Neels Hofmeyr *