X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Funit%2Ftest_ust_data.c;h=ec61ffbad60285d16d2c0e789dd52ec9ea9765ea;hp=b4e927c9d4ea8212284fee020ce6bc3f81acc8cd;hb=b4b7369fbeb9c037449782132cfcdad1dac435d9;hpb=30b66335dc3656fc79129b9e7dfe1cf13ae578e1 diff --git a/tests/unit/test_ust_data.c b/tests/unit/test_ust_data.c index b4e927c9d..ec61ffbad 100644 --- a/tests/unit/test_ust_data.c +++ b/tests/unit/test_ust_data.c @@ -1,23 +1,11 @@ /* - * Copyright (c) 2011 David Goulet + * Copyright (C) 2011 David Goulet * - * 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 - * as published by the Free Software Foundation; only version 2 - * of the License. + * 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. */ #include -#include #include #include #include @@ -28,6 +16,7 @@ #include #include #include +#include #include #include #include @@ -47,13 +36,6 @@ int lttng_opt_quiet = 1; int lttng_opt_verbose; int lttng_opt_mi; -int ust_consumerd32_fd; -int ust_consumerd64_fd; - -/* Global variables required by sessiond objects being linked-in */ -struct lttng_ht *agent_apps_ht_by_sock; -struct notification_thread_handle *notification_thread_handle; - static const char alphanum[] = "0123456789" "ABCDEFGHIJKLMNOPQRSTUVWXYZ"