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]
/
tests
/
compile
/
hello.cxx
/
hello.cpp
diff --git
a/tests/compile/hello.cxx/hello.cpp
b/tests/compile/hello.cxx/hello.cpp
index e9591b843dda3d10f98f0a37473bf184afd4bf5d..bd40323ef37647140c29bf492932de321c260fd2 100644
(file)
--- a/
tests/compile/hello.cxx/hello.cpp
+++ b/
tests/compile/hello.cxx/hello.cpp
@@
-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.023153 seconds
and
4
git commands to generate.