summaryrefslogtreecommitdiff
path: root/protocols/Tox/libtox/src/toxcore/state.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-02-15 12:18:35 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-02-15 12:18:35 +0300
commit31e72718ee54867accf0b739a24adc86f8b7ab54 (patch)
treef964c10c5d97d9fe4fd2bd8187c250faedcb0fd7 /protocols/Tox/libtox/src/toxcore/state.h
parent282e9c18d9d3b726cce3d2ef0babc88029661cb8 (diff)
libtox update
Diffstat (limited to 'protocols/Tox/libtox/src/toxcore/state.h')
-rw-r--r--protocols/Tox/libtox/src/toxcore/state.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/protocols/Tox/libtox/src/toxcore/state.h b/protocols/Tox/libtox/src/toxcore/state.h
index 0cc188d50d..ebe0c37221 100644
--- a/protocols/Tox/libtox/src/toxcore/state.h
+++ b/protocols/Tox/libtox/src/toxcore/state.h
@@ -17,6 +17,7 @@
#ifndef C_TOXCORE_TOXCORE_STATE_H
#define C_TOXCORE_TOXCORE_STATE_H
+#include "attributes.h"
#include "logger.h"
#ifdef __cplusplus
@@ -51,7 +52,7 @@ typedef enum State_Load_Status {
STATE_LOAD_STATUS_END,
} State_Load_Status;
-typedef State_Load_Status state_load_cb(void *outer, const uint8_t *data, uint32_t len, uint16_t type);
+typedef State_Load_Status state_load_cb(void *outer, const uint8_t *data, uint32_t length, uint16_t type);
/** state load/save */
non_null()
@@ -82,7 +83,7 @@ non_null()
void lendian_bytes_to_host16(uint16_t *dest, const uint8_t *lendian);
#ifdef __cplusplus
-} // extern "C"
+} /* extern "C" */
#endif
-#endif // C_TOXCORE_TOXCORE_STATE_H
+#endif /* C_TOXCORE_TOXCORE_STATE_H */