summaryrefslogtreecommitdiffstats
path: root/gl/lib/setenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lib/setenv.c')
-rw-r--r--gl/lib/setenv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gl/lib/setenv.c b/gl/lib/setenv.c
index 22b12fd..9e2e9e2 100644
--- a/gl/lib/setenv.c
+++ b/gl/lib/setenv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995-2003, 2005-2023 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995-2003, 2005-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
This file is free software: you can redistribute it and/or modify
@@ -82,6 +82,7 @@ typedef int (*compar_fn_t) (const void *, const void *);
static void *known_values;
# define KNOWN_VALUE(Str) \
+ __extension__ \
({ \
void *value = tfind (Str, &known_values, (compar_fn_t) strcmp); \
value != NULL ? *(char **) value : NULL; \