httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Kellermann <...@duempel.org>
Subject deprecated attribute?
Date Sun, 06 Feb 2005 18:54:35 GMT
I saw there are some compatibility macros in the header files, like
apreq_make_table and apreq_make_cookie. What about marking them with
the gcc deprecated attribute? (requires prior conversion to inline
functions)

We could define a macro for that:

#if defined(__GNUC__) && __GNUC__ >= 3 && __GNUC_MINOR__ >= 2
#define APREQ_DEPRECATED __attribute__((deprecated))
#else
#define APREQ_DEPRECATED
#endif

Max


Mime
View raw message