From 17af41d9cddee9ba5f0b2edc4288e83470f8e3d7 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Sat, 19 Nov 2011 22:30:39 +0100 Subject: utils: Fix alias to weak alias to allow OSX compilation Using a weak alias works just as good AFAICT. Signed-off-by: Sylvain Munaut --- src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index d32c5c07..0a970ac8 100644 --- a/src/utils.c +++ b/src/utils.c @@ -180,7 +180,7 @@ char *osmo_hexdump_nospc(const unsigned char *buf, int len) /* Compat with previous typo to preserve abi */ char *osmo_osmo_hexdump_nospc(const unsigned char *buf, int len) - __attribute__((alias("osmo_hexdump_nospc"))); + __attribute__((weak, alias("osmo_hexdump_nospc"))); #include "../config.h" #ifdef HAVE_CTYPE_H -- cgit v1.2.3