Do not install share.h (cleanup)
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 18 Nov 2011 19:07:18 +0000 (14:07 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 18 Nov 2011 19:07:18 +0000 (14:07 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/Makefile.am
include/lttng/share.h [deleted file]
include/share.h [new file with mode: 0644]
include/usterr-signal-safe.h
include/usterr.h

index 4ebff36af0b21ade4af7cfd822270f5dd296c2d9..13fa44b3cdf0988164136a09752562173877788f 100644 (file)
@@ -11,7 +11,6 @@ nobase_include_HEADERS = \
        lttng/ringbuffer-abi.h \
        lttng/ust-tracer.h \
        lttng/config.h \
-       lttng/share.h \
        lttng/ust.h \
        lttng/ringbuffer-config.h \
        lttng/align.h \
@@ -25,4 +24,5 @@ noinst_HEADERS = \
        ust_snprintf.h \
        ust-comm.h \
        lttng/bitfield.h \
-       helper.h
+       helper.h \
+       share.h
diff --git a/include/lttng/share.h b/include/lttng/share.h
deleted file mode 100644 (file)
index 19644f1..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef _LTTNG_SHARE_H
-#define _LTTNG_SHARE_H
-
-/*
- * Copyright (c) 2011 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- *
- * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
- * OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
- *
- * Permission is hereby granted to use or copy this program
- * for any purpose,  provided the above notices are retained on all copies.
- * Permission to modify the code and to distribute modified code is granted,
- * provided the above notices are retained, and a notice that the code was
- * modified is included with the above copyright notice.
- */
-
-#include <stdlib.h>
-
-ssize_t patient_write(int fd, const void *buf, size_t count);
-ssize_t patient_send(int fd, const void *buf, size_t count, int flags);
-
-#endif /* _LTTNG_SHARE_H */
diff --git a/include/share.h b/include/share.h
new file mode 100644 (file)
index 0000000..19644f1
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef _LTTNG_SHARE_H
+#define _LTTNG_SHARE_H
+
+/*
+ * Copyright (c) 2011 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
+ * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
+ * OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
+ *
+ * Permission is hereby granted to use or copy this program
+ * for any purpose,  provided the above notices are retained on all copies.
+ * Permission to modify the code and to distribute modified code is granted,
+ * provided the above notices are retained, and a notice that the code was
+ * modified is included with the above copyright notice.
+ */
+
+#include <stdlib.h>
+
+ssize_t patient_write(int fd, const void *buf, size_t count);
+ssize_t patient_send(int fd, const void *buf, size_t count, int flags);
+
+#endif /* _LTTNG_SHARE_H */
index ab4c8a36a10da8471879e3b77564ee62f9021945..375eff7c569b63d5794a6cc7932de4da81548499 100644 (file)
@@ -27,7 +27,7 @@
 #include <stdarg.h>
 #include <stdio.h>
 
-#include <lttng/share.h>
+#include <share.h>
 
 enum ust_loglevel {
        UST_LOGLEVEL_UNKNOWN = 0,
index 866e9a03b57f1b042e6fa513ae738bf87334e141..35d576ec1815ab755cd80b8a8b2659fbacfe62ee 100644 (file)
@@ -27,7 +27,7 @@
 #include <stdarg.h>
 #include <stdio.h>
 
-#include "lttng/share.h"
+#include "share.h"
 
 enum ust_loglevel {
        UST_LOGLEVEL_UNKNOWN = 0,
This page took 0.027387 seconds and 4 git commands to generate.