projects
/
lttng-ust.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6e07deb
)
Revert "Use ENOMSG as fallback for ENODATA on freebsd"
author
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Wed, 22 Feb 2012 22:10:28 +0000
(17:10 -0500)
committer
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Wed, 22 Feb 2012 22:10:28 +0000
(17:10 -0500)
This reverts commit
e5757a9047b04cb2fb94d9dfdf7153e963eafa95
.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/compat.h
patch
|
blob
|
blame
|
history
libringbuffer/ring_buffer_frontend.c
patch
|
blob
|
blame
|
history
tests/ust-basic-tracing/ust-basic-tracing.c
patch
|
blob
|
blame
|
history
tests/ust-multi-test/ust-multi-test.c
patch
|
blob
|
blame
|
history
diff --git
a/liblttng-ust/compat.h
b/liblttng-ust/compat.h
index 004e60ace8d86771652405c2076f555969bd12d8..37480671052edcb872c58345958b7c543c2ddea4 100644
(file)
--- a/
liblttng-ust/compat.h
+++ b/
liblttng-ust/compat.h
@@
-55,10
+55,4
@@
void lttng_ust_getprocname(char *name)
#endif
#endif
-#include <errno.h>
-
-#ifndef ENODATA
-#define ENODATA ENOMSG
-#endif
-
#endif /* _UST_COMPAT_H */
#endif /* _UST_COMPAT_H */
diff --git
a/libringbuffer/ring_buffer_frontend.c
b/libringbuffer/ring_buffer_frontend.c
index 5629876983ee56ca7d5d1c4509d45d4dca5f5f38..ca19648f1d04f544d4f931bb29344fd3e43b65f4 100644
(file)
--- a/
libringbuffer/ring_buffer_frontend.c
+++ b/
libringbuffer/ring_buffer_frontend.c
@@
-53,7
+53,6
@@
#include "backend.h"
#include "frontend.h"
#include "shm.h"
#include "backend.h"
#include "frontend.h"
#include "shm.h"
-#include "../liblttng-ust/compat.h" /* For ENODATA */
#ifndef max
#define max(a, b) ((a) > (b) ? (a) : (b))
#ifndef max
#define max(a, b) ((a) > (b) ? (a) : (b))
diff --git
a/tests/ust-basic-tracing/ust-basic-tracing.c
b/tests/ust-basic-tracing/ust-basic-tracing.c
index a7fa84daec6ff696c2616fcabc6ec25de580dac4..967a120055a70a60b1783abe0a2130d1bf5e37a5 100644
(file)
--- a/
tests/ust-basic-tracing/ust-basic-tracing.c
+++ b/
tests/ust-basic-tracing/ust-basic-tracing.c
@@
-42,7
+42,6
@@
#include <ust-comm.h>
#include "../../libringbuffer/backend.h"
#include "../../libringbuffer/frontend.h"
#include <ust-comm.h>
#include "../../libringbuffer/backend.h"
#include "../../libringbuffer/frontend.h"
-#include "../../liblttng-ust/compat.h" /* For ENODATA */
#define MAX_NR_STREAMS 64
#define MAX_NR_EVENTS 128
#define MAX_NR_STREAMS 64
#define MAX_NR_EVENTS 128
diff --git
a/tests/ust-multi-test/ust-multi-test.c
b/tests/ust-multi-test/ust-multi-test.c
index 814e4517dc366295f2cf6bb990c5ac8374e3f919..5975789f8a95372f9fe0803bb2caa9eb0fbe0bcc 100644
(file)
--- a/
tests/ust-multi-test/ust-multi-test.c
+++ b/
tests/ust-multi-test/ust-multi-test.c
@@
-42,7
+42,6
@@
#include <ust-comm.h>
#include <../../libringbuffer/backend.h>
#include <../../libringbuffer/frontend.h>
#include <ust-comm.h>
#include <../../libringbuffer/backend.h>
#include <../../libringbuffer/frontend.h>
-#include "../../liblttng-ust/compat.h" /* For ENODATA */
#define NR_SESSIONS 4
#define NR_CHANNELS 1
#define NR_SESSIONS 4
#define NR_CHANNELS 1
This page took
0.026657 seconds
and
4
git commands to generate.