diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-10-22 15:39:37 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-10-22 15:39:37 +0200 |
commit | 65fb0fda9d8c3de42ad86283b076c5a96763ed96 (patch) | |
tree | b6b9532602dd990ca0ff4ba3f67332e91bff5b5d /openbsc/src | |
parent | 2657abfe354bc548f2c90be2a627d927137cf1c8 (diff) |
Forward declare methods to fix compiler warnings
Put the used method in the header files or use extern
in the case of a vty method used by token_auth
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/token_auth.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/token_auth.c b/openbsc/src/token_auth.c index 695b55243..0931007ef 100644 --- a/openbsc/src/token_auth.c +++ b/openbsc/src/token_auth.c @@ -33,6 +33,9 @@ #define TOKEN_SMS_TEXT "HAR 2009 GSM. Register at http://har2009.gnumonks.org/ " \ "Your IMSI is %s, auth token is %08X, phone no is %s." +extern struct gsm_sms *sms_from_text(struct gsm_subscriber *receiver, + const char *text); + static char *build_sms_string(struct gsm_subscriber *subscr, u_int32_t token) { char *sms_str; |