projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tracepoint: add ctf sequence for network byte order integers
[lttng-ust.git]
/
tests
/
hello
/
hello.c
diff --git
a/tests/hello/hello.c
b/tests/hello/hello.c
index 0c18c01a95a8e8ed9adad55b21c661c92a1c937e..058f7fae10abaa2c7c5a957c1bdc80fe40f8f8f1 100644
(file)
--- a/
tests/hello/hello.c
+++ b/
tests/hello/hello.c
@@
-26,6
+26,11
@@
#include <fcntl.h>
#include <signal.h>
#include <string.h>
#include <fcntl.h>
#include <signal.h>
#include <string.h>
+/*
+ * Work-around inet.h missing struct mmsghdr forward declaration, with
+ * triggers a warning when system files warnings are enabled.
+ */
+struct mmsghdr;
#include <arpa/inet.h>
#include <stdlib.h>
#include <stdbool.h>
#include <arpa/inet.h>
#include <stdlib.h>
#include <stdbool.h>
@@
-66,6
+71,8
@@
int init_int_handler(void)
return 0;
}
return 0;
}
+void test_inc_count(void);
+
int main(int argc, char **argv)
{
int i, netint;
int main(int argc, char **argv)
{
int i, netint;
This page took
0.026563 seconds
and
4
git commands to generate.