projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: all functions have declarations (-Wmissing-prototypes -Wold-style-definition)
[lttng-ust.git]
/
doc
/
examples
/
hello-static-lib
/
hello.c
diff --git
a/doc/examples/hello-static-lib/hello.c
b/doc/examples/hello-static-lib/hello.c
index e7133c5de4d0132985a053e71df3d527c36bb12b..e54b1e1be0e1711d61cbabf8c34b4d2d994900a6 100644
(file)
--- a/
doc/examples/hello-static-lib/hello.c
+++ b/
doc/examples/hello-static-lib/hello.c
@@
-20,12
+20,14
@@
#define TRACEPOINT_DEFINE
#include "ust_tests_hello.h"
#define TRACEPOINT_DEFINE
#include "ust_tests_hello.h"
+static
void inthandler(int sig)
{
printf("in SIGUSR1 handler\n");
tracepoint(ust_tests_hello, tptest_sighandler);
}
void inthandler(int sig)
{
printf("in SIGUSR1 handler\n");
tracepoint(ust_tests_hello, tptest_sighandler);
}
+static
int init_int_handler(void)
{
int result;
int init_int_handler(void)
{
int result;
This page took
0.028539 seconds
and
4
git commands to generate.