From e70045fbe4b9536294e3c23aa4d55fa6f1ce3f60 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Thu, 11 Jan 2018 20:42:32 +0100 Subject: macros: new __used macro --- src/macros.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/macros.h b/src/macros.h index 67b3c46..280759c 100644 --- a/src/macros.h +++ b/src/macros.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2015 Richard Braun. + * Copyright (c) 2009-2018 Richard Braun. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -87,4 +87,8 @@ #define __unused __attribute__((unused)) #endif +#ifndef __used +#define __used __attribute__((used)) +#endif + #endif /* _MACROS_H */ -- cgit v1.2.3