summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-macros.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-10-11 10:11:21 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-10-11 10:11:21 +0100
commit5fcdebe595b489d9bac98728bb3217a012a78ba1 (patch)
tree45037d87bbc0fc636e39c6d64581d5b429c6b903 /dbus/dbus-macros.h
parentfd08741f27f072700c13c6b834feb67c0bb2b350 (diff)
As per Havoc's review, rename DBUS_GNUC_EXTENSION to _DBUS_GNUC_EXTENSION.
Also update ChangeLog.
Diffstat (limited to 'dbus/dbus-macros.h')
-rw-r--r--dbus/dbus-macros.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/dbus/dbus-macros.h b/dbus/dbus-macros.h
index 1ed6ea76..bf004b8b 100644
--- a/dbus/dbus-macros.h
+++ b/dbus/dbus-macros.h
@@ -59,9 +59,9 @@
#endif
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)
-# define DBUS_GNUC_EXTENSION __extension__
+# define _DBUS_GNUC_EXTENSION __extension__
#else
-# define DBUS_GNUC_EXTENSION
+# define _DBUS_GNUC_EXTENSION
#endif
/* Normally docs are in .c files, but there isn't a .c file for this. */
@@ -125,10 +125,11 @@
* D-Bus internal.
*/
/**
- * @def DBUS_GNUC_EXTENSION
+ * @def _DBUS_GNUC_EXTENSION
*
* Tells gcc not to warn about extensions to the C standard in the
- * following expression, even if compiling with -pedantic.
+ * following expression, even if compiling with -pedantic. Do not use
+ * this macro in your own code; please consider it to be internal to libdbus.
*/
/** @} */