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.
This commit is contained in:
Lennart Poettering 2009-04-22 02:48:58 +02:00
parent 3801b6de78
commit 6d2eacba89

View file

@ -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);