sms: Put the try_deliver into the header file

Even if it is using BSC/NITB types let's put it in the header
file than just declaring it at a place that could bitrot in a
way that doesn't lead a warning.
This commit is contained in:
Holger Hans Peter Freyther 2015-07-06 16:40:01 +02:00
parent af1b968b22
commit e3c391e8d0
2 changed files with 8 additions and 2 deletions

View File

@ -57,8 +57,6 @@
#ifdef BUILD_SMPP
#include "smpp_smsc.h"
extern int smpp_try_deliver(struct gsm_sms *sms,
struct gsm_subscriber_connection *conn);
#endif
void *tall_gsms_ctx;

View File

@ -131,4 +131,12 @@ int smpp_route_pfx_del(struct osmo_smpp_acl *acl,
int smpp_vty_init(void);
int smpp_determine_scheme(uint8_t dcs, uint8_t *data_coding, int *mode);
struct gsm_sms;
struct gsm_subscriber_connection;
int smpp_try_deliver(struct gsm_sms *sms,
struct gsm_subscriber_connection *conn);
#endif