From 298f86d9b065ea6068b1a6e677f3006b8a2521c6 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Tue, 2 Mar 2021 12:16:41 -0500 Subject: [PATCH] Delete unused private header ust-ctl-private.h No declarations in this header are implemented. Change-Id: I9819f8a6b8cf95ce1265db9632443d9b7908f404 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- liblttng-ust-ctl/Makefile.am | 2 +- liblttng-ust-ctl/ust-ctl-private.h | 27 --------------------------- 2 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 liblttng-ust-ctl/ust-ctl-private.h diff --git a/liblttng-ust-ctl/Makefile.am b/liblttng-ust-ctl/Makefile.am index f3903090..3ffd4052 100644 --- a/liblttng-ust-ctl/Makefile.am +++ b/liblttng-ust-ctl/Makefile.am @@ -5,7 +5,7 @@ AM_CFLAGS += -fno-strict-aliasing lib_LTLIBRARIES = liblttng-ust-ctl.la -liblttng_ust_ctl_la_SOURCES = ustctl.c ust-ctl-private.h +liblttng_ust_ctl_la_SOURCES = ustctl.c liblttng_ust_ctl_la_LDFLAGS = \ -version-info $(LTTNG_UST_CTL_LIBRARY_VERSION) diff --git a/liblttng-ust-ctl/ust-ctl-private.h b/liblttng-ust-ctl/ust-ctl-private.h deleted file mode 100644 index a4a6c940..00000000 --- a/liblttng-ust-ctl/ust-ctl-private.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * SPDX-License-Identifier: GPL-2.0-only - * - * Copyright (C) 2011 Julien Desfossez - * Copyright (C) 2011-2013 Mathieu Desnoyers - */ - -#ifndef _LTTNG_UST_CTL_PRIVATE_H -#define _LTTNG_UST_CTL_PRIVATE_H - -#include - -/* - * Map channel lttng_ust_shm_handle and add streams. Typically performed - * by the application to map the objects into its memory space. - */ -struct lttng_ust_shm_handle * - ustctl_map_channel(struct lttng_ust_object_data *chan_data); -int ustctl_add_stream(struct lttng_ust_shm_handle *lttng_ust_shm_handle, - struct lttng_ust_object_data *stream_data); -/* - * Note: the lttng_ust_object_data from which the lttng_ust_shm_handle - * is derived can only be released after unmapping the handle. - */ -void ustctl_unmap_channel(struct lttng_ust_shm_handle *lttng_ust_shm_handle); - -#endif /* _LTTNG_UST_CTL_PRIVATE_H */ -- 2.34.1