diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-04-22 02:48:58 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-05-15 20:30:15 +0200 |
commit | 6d2eacba89328029891ffe774ce37df44387cfbb (patch) | |
tree | f94639777ffcba9ea1cb93bf558aaf57787c413e | |
parent | 3801b6de7878074a8e77445bad2a2d093889a3af (diff) |
memory: remove semicolons from macros
Due to some unknown reasons the dbus_new() macros had a semicolon at the
end which makes it impossible to use them in some situations.
-rw-r--r-- | dbus/dbus-memory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-memory.h b/dbus/dbus-memory.h index 6aab4e24..11b92252 100644 --- a/dbus/dbus-memory.h +++ b/dbus/dbus-memory.h @@ -43,8 +43,8 @@ void* dbus_realloc (void *memory, size_t bytes); void dbus_free (void *memory); -#define dbus_new(type, count) ((type*)dbus_malloc (sizeof (type) * (count))); -#define dbus_new0(type, count) ((type*)dbus_malloc0 (sizeof (type) * (count))); +#define dbus_new(type, count) ((type*)dbus_malloc (sizeof (type) * (count))) +#define dbus_new0(type, count) ((type*)dbus_malloc0 (sizeof (type) * (count))) void dbus_free_string_array (char **str_array); |