Revert "Use ENOMSG as fallback for ENODATA on freebsd"
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Feb 2012 22:10:28 +0000 (17:10 -0500)
committerMathieu 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
libringbuffer/ring_buffer_frontend.c
tests/ust-basic-tracing/ust-basic-tracing.c
tests/ust-multi-test/ust-multi-test.c

index 004e60ace8d86771652405c2076f555969bd12d8..37480671052edcb872c58345958b7c543c2ddea4 100644 (file)
@@ -55,10 +55,4 @@ void lttng_ust_getprocname(char *name)
 
 #endif
 
-#include <errno.h>
-
-#ifndef ENODATA
-#define ENODATA        ENOMSG
-#endif
-
 #endif /* _UST_COMPAT_H */
index 5629876983ee56ca7d5d1c4509d45d4dca5f5f38..ca19648f1d04f544d4f931bb29344fd3e43b65f4 100644 (file)
@@ -53,7 +53,6 @@
 #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))
index a7fa84daec6ff696c2616fcabc6ec25de580dac4..967a120055a70a60b1783abe0a2130d1bf5e37a5 100644 (file)
@@ -42,7 +42,6 @@
 #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
index 814e4517dc366295f2cf6bb990c5ac8374e3f919..5975789f8a95372f9fe0803bb2caa9eb0fbe0bcc 100644 (file)
@@ -42,7 +42,6 @@
 #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
This page took 0.027264 seconds and 4 git commands to generate.