mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-04 19:00:17 +01:00
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:
parent
3801b6de78
commit
6d2eacba89
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue