X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fnotify-apps.h;h=152a52a2058b431936ed4f3b5842001fb7287ec7;hb=4878de5c7deb512bbdac4fdfc498907efa06fb7c;hp=19cbe4fcd8420a17a1ed4a8f509b836ab92516a9;hpb=f9d2ba6ae32397fd818279ea90d3691c60f0e079;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/notify-apps.h b/src/bin/lttng-sessiond/notify-apps.h index 19cbe4fcd..152a52a20 100644 --- a/src/bin/lttng-sessiond/notify-apps.h +++ b/src/bin/lttng-sessiond/notify-apps.h @@ -1,18 +1,8 @@ /* - * Copyright (C) 2013 - David Goulet + * Copyright (C) 2013 David Goulet * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License, version 2 only, as - * published by the Free Software Foundation. + * SPDX-License-Identifier: GPL-2.0-only * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * 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., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef UST_THREAD_H @@ -24,7 +14,9 @@ bool launch_application_notification_thread(int apps_cmd_notify_pipe_read_fd); #else /* HAVE_LIBLTTNG_UST_CTL */ -bool launch_application_notification_thread(int apps_cmd_notify_pipe_read_fd) +static +bool launch_application_notification_thread( + int apps_cmd_notify_pipe_read_fd __attribute__((unused))) { return true; }