From 0382996e101fa33c7f9fb7b875c65d0ff0138d9f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 27 Jul 2013 20:01:15 +0200 Subject: gtp: Use struct ul16_t/struct ul66_t to avoid compiler warnings in OsmoSGSN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is fixing various compiler warnings: In file included from sgsn_libgtp.c:49:0: include/gtp.h:397:48: warning: ‘struct ul66_t’ declared inside parameter list [enabled by default] include/gtp.h:397:48: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] include/gtp.h:398:49: warning: ‘struct ul66_t’ declared inside parameter list [enabled by default] include/gtp.h:399:53: warning: ‘struct ul16_t’ declared inside parameter list [enabled by default] include/gtp.h:400:53: warning: ‘struct ul16_t’ declared inside parameter list [enabled by default] include/gtp.h:397:48: warning: ‘struct ul66_t’ declared inside parameter list [enabled by default] include/gtp.h:397:48: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] include/gtp.h:398:49: warning: ‘struct ul66_t’ declared inside parameter list [enabled by default] include/gtp.h:399:53: warning: ‘struct ul16_t’ declared inside parameter list [enabled by default] include/gtp.h:400:53: warning: ‘struct ul16_t’ declared inside parameter list [enabled by default] --- gtp/gtp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtp') diff --git a/gtp/gtp.h b/gtp/gtp.h index 7417f08..54af96e 100644 --- a/gtp/gtp.h +++ b/gtp/gtp.h @@ -133,6 +133,9 @@ #define GTPCAUSE_221 221 /* For Future Use 221-240 */ #define GTPCAUSE_241 241 /* Cause Values Reserved For Gprs Charging Protocol Use (See Gtp' In Gsm 12.15) 241-255 */ +struct ul66_t; +struct ul16_t; + /* GTP 0 header. * Explanation to some of the fields: * SNDCP NPDU Number flag = 0 except for inter SGSN handover situations -- cgit v1.2.3