X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Funit%2Ftest_string_utils.c;h=b11091637298b4b549ab2888077c47a5c2e78ed8;hp=9596af83ed7bd299063714d3bfcc9d00492e2ef2;hb=refs%2Fheads%2Fsow-2019-0002-rev1;hpb=dbfea1ab9883e8ee7b4addc43f2f25cda5fe9e6d diff --git a/tests/unit/test_string_utils.c b/tests/unit/test_string_utils.c index 9596af83e..b11091637 100644 --- a/tests/unit/test_string_utils.c +++ b/tests/unit/test_string_utils.c @@ -1,18 +1,8 @@ /* - * Copyright (c) - 2017 Philippe Proulx + * Copyright (C) 2017 Philippe Proulx * - * 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 @@ -26,7 +16,7 @@ /* Number of TAP tests in this file */ #define NUM_TESTS 69 -static void test_one_split(const char *input, char delim, bool escape_delim, +static void test_one_split(const char *input, char delim, int escape_delim, ...) { va_list vl;