X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Funit%2Flibmsgpack%2Ftest_msgpack.c;h=339e20beb009408c8a14e5a4301acf76bb5b1fa5;hb=7d03a1923ee8d9f96edd3b0d8771931e473c8e19;hp=ee2268831c0e6b489abdf3ee469ea233740162e2;hpb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;p=lttng-ust.git diff --git a/tests/unit/libmsgpack/test_msgpack.c b/tests/unit/libmsgpack/test_msgpack.c index ee226883..339e20be 100644 --- a/tests/unit/libmsgpack/test_msgpack.c +++ b/tests/unit/libmsgpack/test_msgpack.c @@ -12,7 +12,7 @@ #include "tap.h" -#include "../../libmsgpack/msgpack.h" +#include "common/msgpack/msgpack.h" #define BUFFER_SIZE 4096 #define NUM_TESTS 23 @@ -255,7 +255,7 @@ static void nil_test(uint8_t *buf) lttng_msgpack_writer_fini(&writer); } -int main(int argc, char *argv[]) +int main(void) { uint8_t buf[BUFFER_SIZE] = {0}; double arr_double[] = {1.1, 2.3, -12345.2};