From 13e14a6bfd9f29cbfeab0c5161d2a994f97532e7 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 26 Mar 2026 12:53:53 +0100 Subject: Update/gnulib 2026 03 (#2247) * Sync with the 202601-stable Gnulib code (4a3650d887) * Ignore more deps stuff in gnulib * Remove autogenerated gnulib files * Ignore more gnulib generated headers --- gl/getopt1.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gl/getopt1.c') diff --git a/gl/getopt1.c b/gl/getopt1.c index c8566845..a5f99888 100644 --- a/gl/getopt1.c +++ b/gl/getopt1.c @@ -1,5 +1,5 @@ /* getopt_long and getopt_long_only entry points for GNU getopt. - Copyright (C) 1987-2025 Free Software Foundation, Inc. + Copyright (C) 1987-2026 Free Software Foundation, Inc. This file is part of the GNU C Library and is also part of gnulib. Patches to this file should be submitted to both projects. @@ -73,7 +73,6 @@ _getopt_long_only_r (int argc, char **argv, const char *options, int main (int argc, char **argv) { - int c; int digit_optind = 0; while (1) @@ -91,8 +90,8 @@ main (int argc, char **argv) {0, 0, 0, 0} }; - c = getopt_long (argc, argv, "abc:d:0123456789", - long_options, &option_index); + int c = getopt_long (argc, argv, "abc:d:0123456789", + long_options, &option_index); if (c == -1) break; -- cgit v1.2.3-74-g34f1