Browse Source

cdefs.h: Introduce '__deprecated' macro

Introduce a macro to mark functions as deprecated.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
pull/486/head
Soren Brinkmann 9 years ago
parent
commit
70050dd10c
  1. 2
      include/stdlib/sys/cdefs.h

2
include/stdlib/sys/cdefs.h

@ -283,8 +283,10 @@
#if __GNUC_PREREQ__(3, 1)
#define __noinline __attribute__ ((__noinline__))
#define __deprecated __attribute__ ((deprecated))
#else
#define __noinline
#define __deprecated
#endif
#if __GNUC_PREREQ__(3, 3)

Loading…
Cancel
Save