diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2011-11-19 22:30:39 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2011-11-19 22:30:39 +0100 |
commit | 17af41d9cddee9ba5f0b2edc4288e83470f8e3d7 (patch) | |
tree | a61f1ddec3998de9022c8701869ee8b8ae58ed1e /src/utils.c | |
parent | a42e2f6fb652ccf72dcbc54f403590ba79cb519c (diff) |
utils: Fix alias to weak alias to allow OSX compilation
Using a weak alias works just as good AFAICT.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |