From: Mathieu Desnoyers Date: Fri, 18 Nov 2011 19:07:18 +0000 (-0500) Subject: Do not install share.h (cleanup) X-Git-Tag: v1.9.1~67 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=2f864739715ce0d04a2d9a6ad78e9b84d1ce90d3;p=lttng-ust.git Do not install share.h (cleanup) Signed-off-by: Mathieu Desnoyers --- diff --git a/include/Makefile.am b/include/Makefile.am index 4ebff36a..13fa44b3 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -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 index 19644f12..00000000 --- a/include/lttng/share.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef _LTTNG_SHARE_H -#define _LTTNG_SHARE_H - -/* - * Copyright (c) 2011 - Mathieu Desnoyers - * - * 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 - -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 index 00000000..19644f12 --- /dev/null +++ b/include/share.h @@ -0,0 +1,22 @@ +#ifndef _LTTNG_SHARE_H +#define _LTTNG_SHARE_H + +/* + * Copyright (c) 2011 - Mathieu Desnoyers + * + * 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 + +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/usterr-signal-safe.h b/include/usterr-signal-safe.h index ab4c8a36..375eff7c 100644 --- a/include/usterr-signal-safe.h +++ b/include/usterr-signal-safe.h @@ -27,7 +27,7 @@ #include #include -#include +#include enum ust_loglevel { UST_LOGLEVEL_UNKNOWN = 0, diff --git a/include/usterr.h b/include/usterr.h index 866e9a03..35d576ec 100644 --- a/include/usterr.h +++ b/include/usterr.h @@ -27,7 +27,7 @@ #include #include -#include "lttng/share.h" +#include "share.h" enum ust_loglevel { UST_LOGLEVEL_UNKNOWN = 0,