2004-12-26 Havoc Pennington <hp@redhat.com>
authorHavoc Pennington <hp@redhat.com>
Mon, 3 Jan 2005 17:06:35 +0000 (17:06 +0000)
committerHavoc Pennington <hp@redhat.com>
Mon, 3 Jan 2005 17:06:35 +0000 (17:06 +0000)
* dbus/dbus-internals.h: add _DBUS_GNUC_NORETURN to _dbus_assert

ChangeLog
dbus/dbus-internals.h

index f37e712fc9f2fed8122b67132290736efa829fb1..7a1c54251ef614812eeac19602a795b710a469e7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 8560d4ec5f49936a78bd3f543b2bb366d71b5bd3..28483c9172796b9d318b5b1c318121dbce0fce81 100644 (file)
@@ -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 */