From 4cfbae815230bc7509ce927e45f409fcbf12821c Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Sun, 13 Nov 2011 23:04:00 +0100 Subject: utils: Add declaration back for osmo_osmo_hexdump_nospc As it turns out, if a project uses the old name but without a declaration, it'll causes a segfault on 64 bits platform (because of the implicit int return type which doesn't apply since here it's a pointer). Signed-off-by: Sylvain Munaut --- include/osmocom/core/utils.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/osmocom/core/utils.h b/include/osmocom/core/utils.h index 315757c9..f1843d9d 100644 --- a/include/osmocom/core/utils.h +++ b/include/osmocom/core/utils.h @@ -35,6 +35,7 @@ int osmo_hexparse(const char *str, uint8_t *b, int max_len); char *osmo_ubit_dump(const uint8_t *bits, unsigned int len); char *osmo_hexdump(const unsigned char *buf, int len); char *osmo_hexdump_nospc(const unsigned char *buf, int len); +char *osmo_osmo_hexdump_nospc(const unsigned char *buf, int len) __attribute__((__deprecated__)); #define osmo_static_assert(exp, name) typedef int dummy##name [(exp) ? 1 : -1]; -- cgit v1.2.3