diff options
author | GDR! <gdr@gdr.name> | 2015-06-19 20:25:14 +0200 |
---|---|---|
committer | GDR! <gdr@gdr.name> | 2015-06-19 20:25:14 +0200 |
commit | 97b9fd40dbba9b94144862f719a2a4ca8f12af22 (patch) | |
tree | 2f421b3aa4bac5ca6cfaef03d4511b3f0e5f8f2b /util.h | |
parent | 114911b46f221912e25589d746dc1f9f905413bd (diff) |
The program now compiles with new toxcore (67df1ab7ce)
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,6 +3,7 @@ | |||
3 | 3 | ||
4 | #include <unistd.h> | 4 | #include <unistd.h> |
5 | #include <stdint.h> | 5 | #include <stdint.h> |
6 | #include <tox/tox.h> | ||
6 | #define countof(x) (sizeof(x)/sizeof(*(x))) | 7 | #define countof(x) (sizeof(x)/sizeof(*(x))) |
7 | #define char_t unsigned char | 8 | #define char_t unsigned char |
8 | 9 | ||
@@ -11,5 +12,6 @@ void to_hex(char_t *a, const char_t *p, int size); | |||
11 | void id_to_string(char_t *dest, const char_t *src); | 12 | void id_to_string(char_t *dest, const char_t *src); |
12 | int string_to_id(char_t *w, char_t *a); | 13 | int string_to_id(char_t *w, char_t *a); |
13 | void* file_raw(char *path, uint32_t *size); | 14 | void* file_raw(char *path, uint32_t *size); |
15 | const char *readable_connection_status(TOX_CONNECTION status); | ||
14 | 16 | ||
15 | #endif | 17 | #endif |