From bf8a3b1c1cd5692eebe94f43c4a0422e68e294eb Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Fri, 23 Nov 2018 08:46:51 +0100 Subject: [PATCH] cogl: Remove unused macro COGL_GNUC_DEPRECATED This is also already defined in GLib as G_GNUC_DEPRECATED. (Note that it is also something different than COGL_DEPRECATED) --- cogl/cogl/cogl-types.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cogl/cogl/cogl-types.h b/cogl/cogl/cogl-types.h index b324da2e8..c8f9e8305 100644 --- a/cogl/cogl/cogl-types.h +++ b/cogl/cogl/cogl-types.h @@ -70,14 +70,6 @@ typedef int CoglBool; #define COGL_GNUC_NULL_TERMINATED #endif -#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) && \ - !defined (COGL_COMPILATION) -#define COGL_GNUC_DEPRECATED \ - __attribute__((__deprecated__)) -#else -#define COGL_GNUC_DEPRECATED -#endif /* __GNUC__ */ - /* Some structures are meant to be opaque but they have public definitions because we want the size to be public so they can be allocated on the stack. This macro is used to ensure that users