diff options
author | Havoc Pennington <hp@redhat.com> | 2003-04-29 21:27:59 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-04-29 21:27:59 +0000 |
commit | 2a708128adc5e825471a3a63d6bc7a53005ae237 (patch) | |
tree | 7e37830efe0a32390e6faa8ab623fd8b59160638 /dbus | |
parent | ccc4926813482545ea47e85e8d134d504c68f3e7 (diff) |
2003-04-29 Havoc Pennington <hp@redhat.com>
* dbus/dbus.h: add "you have to define DBUS_API_SUBJECT_TO_CHANGE
to use this library" to be sure people have the right
expectations.
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/dbus-mainloop.c | 2 | ||||
-rw-r--r-- | dbus/dbus.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/dbus/dbus-mainloop.c b/dbus/dbus-mainloop.c index 43e0788d..04c8f1de 100644 --- a/dbus/dbus-mainloop.c +++ b/dbus/dbus-mainloop.c @@ -636,7 +636,7 @@ _dbus_loop_iterate (DBusLoop *loop, timeout = MIN (msecs_remaining, timeout); #if MAINLOOP_SPEW - _dbus_verbose (" timeout added, %d remaining, aggregate timeout %d\n", + _dbus_verbose (" timeout added, %d remaining, aggregate timeout %ld\n", msecs_remaining, timeout); #endif diff --git a/dbus/dbus.h b/dbus/dbus.h index 4285b395..d7fec9b9 100644 --- a/dbus/dbus.h +++ b/dbus/dbus.h @@ -26,6 +26,10 @@ #define DBUS_INSIDE_DBUS_H 1 +#ifndef DBUS_API_SUBJECT_TO_CHANGE +#error "Please define DBUS_API_SUBJECT_TO_CHANGE to acknowledge your understanding that D-BUS hasn't reached 1.0 and is subject to protocol and API churn. That said, you are encouraged to use it and we are actively fixing bugs and believe it to be functional." +#endif + #include <dbus/dbus-arch-deps.h> #include <dbus/dbus-address.h> #include <dbus/dbus-bus.h> |