projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: misc spelling errors
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-ctl.h
diff --git
a/src/bin/lttng-sessiond/ust-ctl.h
b/src/bin/lttng-sessiond/ust-ctl.h
index f4f34ee2f00bc32eecc3ad434c0f9737409e7a63..c2ab24ac9978dbac9c5876da885170e6bf64543a 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-ctl.h
+++ b/
src/bin/lttng-sessiond/ust-ctl.h
@@
-3,11
+3,11
@@
*
* Meta header used to include all relevant file from the lttng ust ABI.
*
*
* Meta header used to include all relevant file from the lttng ust ABI.
*
- * Copyright (C) 201
1 - David Goulet <david.goulet@polymtl.ca
>
+ * Copyright (C) 201
3 - David Goulet <dgoulet@efficios.com
>
*
* This program is free software; you can redistribute it and/or modify it
*
* This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License
as published by the Free
- *
Software Foundation; only version 2 of the License
.
+ * under the terms of the GNU General Public License
, version 2 only, as
+ *
published by the Free Software Foundation
.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@@
-15,12
+15,12
@@
* more details.
*
* You should have received a copy of the GNU General Public License along with
* more details.
*
* You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 5
9 Temple
- *
Place - Suite 330, Boston, MA 02111-1307,
USA.
+ * this program; if not, write to the Free Software Foundation, Inc., 5
1
+ *
Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA.
*/
*/
-#ifndef
_LTT
_UST_CTL_H
-#define
_LTT
_UST_CTL_H
+#ifndef
LTTNG
_UST_CTL_H
+#define
LTTNG
_UST_CTL_H
#include <config.h>
#include <config.h>
@@
-31,11
+31,29
@@
* UST ABI.
*/
#ifdef HAVE_LIBLTTNG_UST_CTL
* UST ABI.
*/
#ifdef HAVE_LIBLTTNG_UST_CTL
+
#include <lttng/ust-ctl.h>
#include <lttng/ust-abi.h>
#include <lttng/ust-ctl.h>
#include <lttng/ust-abi.h>
-#else
+#include <lttng/ust-error.h>
+
+static inline
+int ust_ctl_release_object(int sock, struct lttng_ust_object_data *data)
+{
+ return ustctl_release_object(sock, data);
+}
+
+#else /* HAVE_LIBLTTNG_UST_CTL */
+
#include "lttng-ust-ctl.h"
#include "lttng-ust-abi.h"
#include "lttng-ust-ctl.h"
#include "lttng-ust-abi.h"
-#endif
+#include "lttng-ust-error.h"
+
+static inline
+int ust_ctl_release_object(int sock, struct lttng_ust_object_data *data)
+{
+ return 0;
+}
+
+#endif /* HAVE_LIBLTTNG_UST_CTL */
#endif /* _LTT_UST_CTL_H */
#endif /* _LTT_UST_CTL_H */
This page took
0.025067 seconds
and
5
git commands to generate.