diff options
author | Oliver Smith <osmith@sysmocom.de> | 2019-02-26 16:32:57 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2019-02-26 16:40:36 +0100 |
commit | c5044cfd80666fc420e7019716613e5c3ab89bb8 (patch) | |
tree | e6361e595c9f200ff088df2e6b01631608e957fa | |
parent | 20ddfdbc53dda04c30de8c6f2458f6013170b359 (diff) |
hlr.c: move hlr_ctx to the top
Allow all functions to use hlr_ctx, so it can be used by the upcoming
read_cb_forward() function in [1]. That new function is placed next to
the existing read_cb() function, which is above the current hlr_ctx
declaration.
[1]: Change-Id: Ia4f345abc877baaf0a8f73b8988e6514d9589bf5
Related: OS#3793
Change-Id: I5edf0a233ff323a63e321a1ca47736b5b212d1bb
-rw-r--r-- | src/hlr.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -47,6 +47,7 @@ #include "hlr_ussd.h" struct hlr *g_hlr; +static void *hlr_ctx = NULL; static int quit = 0; /* Trigger 'Insert Subscriber Data' messages to all connected GSUP clients. @@ -608,8 +609,6 @@ static void handle_options(int argc, char **argv) } } -static void *hlr_ctx = NULL; - static void signal_hdlr(int signal) { switch (signal) { |