diff options
Diffstat (limited to 'toxcore/tox_api.c')
-rw-r--r-- | toxcore/tox_api.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/toxcore/tox_api.c b/toxcore/tox_api.c index b6c8c386..89da8583 100644 --- a/toxcore/tox_api.c +++ b/toxcore/tox_api.c | |||
@@ -1,5 +1,7 @@ | |||
1 | #include "tox.h" | 1 | #include "tox.h" |
2 | 2 | ||
3 | #include "ccompat.h" | ||
4 | |||
3 | #include <stdlib.h> | 5 | #include <stdlib.h> |
4 | #include <string.h> | 6 | #include <string.h> |
5 | 7 | ||
@@ -88,7 +90,7 @@ struct Tox_Options *tox_options_new(TOX_ERR_OPTIONS_NEW *error) | |||
88 | } | 90 | } |
89 | 91 | ||
90 | SET_ERROR_PARAMETER(error, TOX_ERR_OPTIONS_NEW_MALLOC); | 92 | SET_ERROR_PARAMETER(error, TOX_ERR_OPTIONS_NEW_MALLOC); |
91 | return NULL; | 93 | return nullptr; |
92 | } | 94 | } |
93 | 95 | ||
94 | void tox_options_free(struct Tox_Options *options) | 96 | void tox_options_free(struct Tox_Options *options) |