diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | dbus/dbus-internals.h | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2004-12-26 Havoc Pennington <hp@redhat.com> + + * dbus/dbus-internals.h: add _DBUS_GNUC_NORETURN to _dbus_assert + 2005-01-03 Havoc Pennington <hp@redhat.com> * dbus/dbus-sysdeps.c (_dbus_sysdeps_test): fix using == on diff --git a/dbus/dbus-internals.h b/dbus/dbus-internals.h index 8560d4ec..28483c91 100644 --- a/dbus/dbus-internals.h +++ b/dbus/dbus-internals.h @@ -100,7 +100,7 @@ const char* _dbus_strerror (int error_number); void _dbus_real_assert (dbus_bool_t condition, const char *condition_text, const char *file, - int line); + int line) _DBUS_GNUC_NORETURN; #define _dbus_assert(condition) \ _dbus_real_assert ((condition) != 0, #condition, __FILE__, __LINE__) #endif /* !DBUS_DISABLE_ASSERT */ |