X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=tests%2Fhello%2Fhello.c;h=058f7fae10abaa2c7c5a957c1bdc80fe40f8f8f1;hb=53569322d40ed45abe0368ddb08eb4a2738afc37;hp=0c18c01a95a8e8ed9adad55b21c661c92a1c937e;hpb=f121009f677db0f9444e0683e24315eed9c5973d;p=lttng-ust.git diff --git a/tests/hello/hello.c b/tests/hello/hello.c index 0c18c01a..058f7fae 100644 --- a/tests/hello/hello.c +++ b/tests/hello/hello.c @@ -26,6 +26,11 @@ #include #include #include +/* + * Work-around inet.h missing struct mmsghdr forward declaration, with + * triggers a warning when system files warnings are enabled. + */ +struct mmsghdr; #include #include #include @@ -66,6 +71,8 @@ int init_int_handler(void) return 0; } +void test_inc_count(void); + int main(int argc, char **argv) { int i, netint;