diff options
Diffstat (limited to 'toxcore/tox_api.c')
-rw-r--r-- | toxcore/tox_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/tox_api.c b/toxcore/tox_api.c index 31f21158..87123968 100644 --- a/toxcore/tox_api.c +++ b/toxcore/tox_api.c | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <stdlib.h> | 5 | #include <stdlib.h> |
6 | #include <string.h> | 6 | #include <string.h> |
7 | 7 | ||
8 | #define SET_ERROR_PARAMETER(param, x) {if(param) {*param = x;}} | 8 | #define SET_ERROR_PARAMETER(param, x) do { if (param) { *param = x; } } while (0) |
9 | 9 | ||
10 | 10 | ||
11 | #define CONST_FUNCTION(lowercase, uppercase) \ | 11 | #define CONST_FUNCTION(lowercase, uppercase) \ |