lobase

Linux port of OpenBSDs userland.
Log | Files | Refs | README

commit cbab257026a7298fdb63370c83de3c94fc4502f7
parent 24e821b47dd70f3873b58fb2f5b70f372dcd45cd
Author: Duncaen <mail@duncano.de>
Date:   Thu, 25 May 2017 20:56:40 +0200

include/compat.h: add __strong_alias

Diffstat:
include/compat.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/compat.h b/include/compat.h @@ -29,6 +29,9 @@ #define __weak_alias(new, old) \ extern __typeof(old) new __attribute__((weak, alias(#old))) +#define __strong_alias(new, old) \ + extern __typeof(old) new __attribute__((alias(#old))) + #ifndef SA_LEN #define SA_LEN(X) \ (((struct sockaddr*)(X))->sa_family == AF_INET ? sizeof(struct sockaddr_in) : \