From bfef0924f58eab930bdd826ac0132786abc32220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 29 Jan 2023 16:17:51 +0100 Subject: New upstream version 4.10 --- src/tc-switchuser.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/tc-switchuser.c') diff --git a/src/tc-switchuser.c b/src/tc-switchuser.c index 3bb3fe9..1763527 100644 --- a/src/tc-switchuser.c +++ b/src/tc-switchuser.c @@ -1,14 +1,7 @@ -/* - * Copyright Jan Engelhardt - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the WTF Public License version 2 or - * (at your option) any later version. - */ +// SPDX-License-Identifier: MIT #ifdef HAVE_CONFIG_H # include "config.h" #endif -#if defined(HAVE_INITGROUPS) #include #include #include @@ -17,6 +10,7 @@ #include #include #include +#if defined(HAVE_INITGROUPS) static char *user_name, *group_name; static const struct HXoption options_table[] = { @@ -70,4 +64,9 @@ int main(int argc, const char **argv) } return EXIT_SUCCESS; } +#else +int main(void) +{ + return EXIT_SUCCESS; +} #endif -- cgit v1.2.3