Commit Graph

3 Commits

Author SHA1 Message Date
Vadim Yanitskiy e9ffa494f0 fix warnings about implicit declaration of strtol()
This commit fixes several warnings like this one:

In file included from ../../../src/libsmpp34/test_apps/smpp.c:40:
test_apps/smpp.c: In function ‘do_smpp_send_message2’:
test_apps/esme.h:32:16: warning: implicit declaration of function ‘strtol’;
                                 did you mean ‘strtok’? [-Wimplicit-function-declaration]
   32 |          dst = strtol((char*)clave, NULL, 10);\
      |                ^~~~~~
test_apps/smpp.c:223:5: note: in expansion of macro ‘GET_PROP_INT’
  223 |     GET_PROP_INT( req.source_addr_ton, p, "source_addr_ton" );
      |     ^~~~~~~~~~~~

Change-Id: I16d9e0171d4c26f721c300e22c78b77f6db4895c
2024-01-08 20:46:47 +07:00
Neels Hofmeyr cf9e5f8c33 esme.c: mark switch statement fall-thru for coverity
Change-Id: I2d8f16242b8ddca855fa387ad93f52adf8bcdeec
2018-10-29 18:33:24 +01:00
Harald Welte 4b233b4f3b initial import of libsmpp34-1.10 2012-11-07 08:32:31 +01:00