diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2009-10-24 17:32:56 -0500 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2009-10-28 21:31:28 +0100 |
commit | 3e5ce0a54a78790adf86fb8bdcdb288121a039c6 (patch) | |
tree | 7f09c120f4e0dae17250e97c63914a7b49c5da56 | |
parent | 7b849f7297e4582b3a13417db68d13a2464df89b (diff) | |
download | dpkg-3e5ce0a54a78790adf86fb8bdcdb288121a039c6.tar.gz |
libdpkg: fix misspelling of __attribute__((const))
gcc does not recognize __attribute__((constant)).
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Guillem Jover <guillem@debian.org>
-rw-r--r-- | lib/dpkg/macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dpkg/macros.h b/lib/dpkg/macros.h index 6bc600a14..231b47716 100644 --- a/lib/dpkg/macros.h +++ b/lib/dpkg/macros.h @@ -26,7 +26,7 @@ #if HAVE_C_ATTRIBUTE #define DPKG_ATTR_UNUSED __attribute__((unused)) -#define DPKG_ATTR_CONST __attribute__((constant)) +#define DPKG_ATTR_CONST __attribute__((const)) #define DPKG_ATTR_NORET __attribute__((noreturn)) #define DPKG_ATTR_PRINTF(n) __attribute__((format(printf, n, n + 1))) #else |