diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-07-17 01:18:04 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-07-22 02:34:30 +0000 |
commit | f627a26a7b1c3619ba66f84b87092ff8ba7a95b6 (patch) | |
tree | c72c950fab473dc9bec4b5329d251b790e55443d /testing/DHT_test.c | |
parent | 7245ac11ef9be2420c8356c12acc79f93ea211bb (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 'testing/DHT_test.c')
-rw-r--r-- | testing/DHT_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/DHT_test.c b/testing/DHT_test.c index c242953a..78853746 100644 --- a/testing/DHT_test.c +++ b/testing/DHT_test.c | |||
@@ -28,7 +28,9 @@ | |||
28 | * You should have received a copy of the GNU General Public License | 28 | * You should have received a copy of the GNU General Public License |
29 | * along with Tox. If not, see <http://www.gnu.org/licenses/>. | 29 | * along with Tox. If not, see <http://www.gnu.org/licenses/>. |
30 | */ | 30 | */ |
31 | #ifndef _XOPEN_SOURCE | ||
31 | #define _XOPEN_SOURCE 600 | 32 | #define _XOPEN_SOURCE 600 |
33 | #endif | ||
32 | 34 | ||
33 | #include <stdlib.h> | 35 | #include <stdlib.h> |
34 | #include <stdio.h> | 36 | #include <stdio.h> |