diff options
Diffstat (limited to 'bus/utils.h')
-rw-r--r-- | bus/utils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bus/utils.h b/bus/utils.h index 5cbe2849..41eb5557 100644 --- a/bus/utils.h +++ b/bus/utils.h @@ -25,8 +25,9 @@ #ifndef BUS_UTILS_H #define BUS_UTILS_H -#define BUS_HANDLE_OOM(stat) (stat) - void bus_wait_for_memory (void); +extern const char bus_no_memory_message[]; +#define BUS_SET_OOM(error) dbus_set_error ((error), DBUS_ERROR_NO_MEMORY, bus_no_memory_message) + #endif /* BUS_ACTIVATION_H */ |