projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Add a comment in libustctl function tests
[ust.git]
/
tests
/
register_test
/
register_test.c
diff --git
a/tests/register_test/register_test.c
b/tests/register_test/register_test.c
index 8b65ffbb0003daae74a1d70c9d494cb2f1b4bcf3..d5cd352afeaadd3362ab338d4e93d4479440c3c8 100644
(file)
--- a/
tests/register_test/register_test.c
+++ b/
tests/register_test/register_test.c
@@
-21,7
+21,6
@@
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/timerfd.h>
#include <fcntl.h>
#include <signal.h>
#include <pthread.h>
#include <fcntl.h>
#include <signal.h>
#include <pthread.h>
@@
-56,7
+55,7
@@
void tptest_probe(void *data, int anint)
static void * register_thread_main(void *data)
{
static void * register_thread_main(void *data)
{
- int
ret,
i, j = 0;
+ int i, j = 0;
struct hello_trace_struct hello[HELLO_LENGTH];
struct hello_trace_struct hello[HELLO_LENGTH];
@@
-80,10
+79,11
@@
static void * register_thread_main(void *data)
}
printf("Unregistered all\n");
}
}
printf("Unregistered all\n");
}
+ return NULL;
}
}
-int main()
+int main(
int argc, char **argv
)
{
pthread_t register_thread;
int i;
{
pthread_t register_thread;
int i;
This page took
0.041159 seconds
and
4
git commands to generate.