summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-07-17 01:18:04 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-07-22 02:34:30 +0000
commitf627a26a7b1c3619ba66f84b87092ff8ba7a95b6 (patch)
treec72c950fab473dc9bec4b5329d251b790e55443d /toxcore/tox.c
parent7245ac11ef9be2420c8356c12acc79f93ea211bb (diff)
Run Clang global static analysis on Travis.
This uses a single .cc file containing almost all the code in the repository to perform whole program analysis.
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r--toxcore/tox.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index 80ff42c3..cdccbe45 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -25,10 +25,14 @@
25#include "config.h" 25#include "config.h"
26#endif 26#endif
27 27
28#ifndef _XOPEN_SOURCE
28#define _XOPEN_SOURCE 600 29#define _XOPEN_SOURCE 600
30#endif
29 31
32#ifndef TOX_DEFINED
30#define TOX_DEFINED 33#define TOX_DEFINED
31typedef struct Messenger Tox; 34typedef struct Messenger Tox;
35#endif
32#include "tox.h" 36#include "tox.h"
33 37
34#include <assert.h> 38#include <assert.h>