diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-02-25 18:02:13 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-02-25 18:02:13 +0000 |
commit | e8023bb88716ed8fac7ef7fc59e273639132f059 (patch) | |
tree | 90424729db078db87c45d4144bea6fcbd6c395eb /src/xine-utils/attributes.h | |
parent | d565bed934ab0ea5ebd44620e0df0256f8fa0c7e (diff) | |
download | xine-lib-e8023bb88716ed8fac7ef7fc59e273639132f059.tar.gz xine-lib-e8023bb88716ed8fac7ef7fc59e273639132f059.tar.bz2 |
Instead of __unused, use __attr_unused, to avoid possible collisions with other libraries.
CVS patchset: 8626
CVS date: 2007/02/25 18:02:13
Diffstat (limited to 'src/xine-utils/attributes.h')
-rw-r--r-- | src/xine-utils/attributes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xine-utils/attributes.h b/src/xine-utils/attributes.h index c2936a2a4..0328493aa 100644 --- a/src/xine-utils/attributes.h +++ b/src/xine-utils/attributes.h @@ -59,11 +59,11 @@ # define XINE_SENTINEL #endif -#ifndef __unused +#ifndef __attr_unused # ifdef SUPPORT_ATTRIBUTE_UNUSED -# define __unused __attribute__((unused)) +# define __attr_unused __attribute__((unused)) # else -# define __unused +# define __attr_unused # endif #endif |