The following commit has been merged in the master branch:
commit 3e5ce0a54a78790adf86fb8bdcdb288121a039c6
Author: Jonathan Nieder <[email protected]>
Date: Sat Oct 24 17:32:56 2009 -0500
libdpkg: fix misspelling of __attribute__((const))
gcc does not recognize __attribute__((constant)).
Signed-off-by: Jonathan Nieder <[email protected]>
Signed-off-by: Guillem Jover <[email protected]>
diff --git a/lib/dpkg/macros.h b/lib/dpkg/macros.h
index 6bc600a..231b477 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
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]