X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Funit%2Ftest_uatomic.c;h=12e0266023301c8f7e8d9239b757bc37082c01c8;hb=ce29b37132cef1c1c758e0862ac701e9bb756d29;hp=fe2a6c1b8751794190261539d9cb276958fcee48;hpb=1b3874915095deab4aa9be0f33423e992e571bb7;p=urcu.git diff --git a/tests/unit/test_uatomic.c b/tests/unit/test_uatomic.c index fe2a6c1..12e0266 100644 --- a/tests/unit/test_uatomic.c +++ b/tests/unit/test_uatomic.c @@ -1,24 +1,6 @@ -/* - * test_uatomic.c - * - * Userspace RCU library - test atomic operations - * - * Copyright February 2009 - Mathieu Desnoyers - * - * 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; either version 2 of the License, or - * (at your option) any later version. - * - * 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. - */ +// SPDX-FileCopyrightText: 2009 Mathieu Desnoyers +// +// SPDX-License-Identifier: GPL-2.0-or-later #include #include @@ -91,7 +73,7 @@ do { \ \ } while (0) -int main(int argc, char **argv) +int main(void) { int nr_run = 2; #ifdef UATOMIC_HAS_ATOMIC_BYTE