diff options
| author | Paul Eggert | 2011-02-14 20:53:29 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-02-14 20:53:29 -0800 |
| commit | bb55f713d2e4ea089a861a257d7d000432642ce9 (patch) | |
| tree | 92cf79666025c70a6541e87cb47ab8299c5f92af /lib/ignore-value.h | |
| parent | 8017fd6b81ed07c1ff3adf7494c867f9a2b034a9 (diff) | |
| download | emacs-bb55f713d2e4ea089a861a257d7d000432642ce9.tar.gz emacs-bb55f713d2e4ea089a861a257d7d000432642ce9.zip | |
Merge from gnulib.
Diffstat (limited to 'lib/ignore-value.h')
| -rw-r--r-- | lib/ignore-value.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ignore-value.h b/lib/ignore-value.h index 5e683bbb533..f021a1ac8ea 100644 --- a/lib/ignore-value.h +++ b/lib/ignore-value.h | |||
| @@ -35,13 +35,13 @@ | |||
| 35 | #ifndef _GL_IGNORE_VALUE_H | 35 | #ifndef _GL_IGNORE_VALUE_H |
| 36 | # define _GL_IGNORE_VALUE_H | 36 | # define _GL_IGNORE_VALUE_H |
| 37 | 37 | ||
| 38 | # ifndef ATTRIBUTE_DEPRECATED | 38 | # ifndef _GL_ATTRIBUTE_DEPRECATED |
| 39 | /* The __attribute__((__deprecated__)) feature | 39 | /* The __attribute__((__deprecated__)) feature |
| 40 | is available in gcc versions 3.1 and newer. */ | 40 | is available in gcc versions 3.1 and newer. */ |
| 41 | # if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 1) | 41 | # if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 1) |
| 42 | # define ATTRIBUTE_DEPRECATED /* empty */ | 42 | # define _GL_ATTRIBUTE_DEPRECATED /* empty */ |
| 43 | # else | 43 | # else |
| 44 | # define ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) | 44 | # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) |
| 45 | # endif | 45 | # endif |
| 46 | # endif | 46 | # endif |
| 47 | 47 | ||
| @@ -56,7 +56,7 @@ | |||
| 56 | 56 | ||
| 57 | /* ignore_value works for scalars, pointers and aggregates; | 57 | /* ignore_value works for scalars, pointers and aggregates; |
| 58 | deprecate ignore_ptr. */ | 58 | deprecate ignore_ptr. */ |
| 59 | static inline void ATTRIBUTE_DEPRECATED | 59 | static inline void _GL_ATTRIBUTE_DEPRECATED |
| 60 | ignore_ptr (void *p) { (void) p; } /* deprecated: use ignore_value */ | 60 | ignore_ptr (void *p) { (void) p; } /* deprecated: use ignore_value */ |
| 61 | 61 | ||
| 62 | #endif | 62 | #endif |