summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/gnulib/lib/strcasecmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'macros/texinfo/texinfo/gnulib/lib/strcasecmp.c')
-rw-r--r--macros/texinfo/texinfo/gnulib/lib/strcasecmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/texinfo/texinfo/gnulib/lib/strcasecmp.c b/macros/texinfo/texinfo/gnulib/lib/strcasecmp.c
index 6cd0e1e370..0b7e093692 100644
--- a/macros/texinfo/texinfo/gnulib/lib/strcasecmp.c
+++ b/macros/texinfo/texinfo/gnulib/lib/strcasecmp.c
@@ -1,5 +1,5 @@
/* Case-insensitive string comparison function.
- Copyright (C) 1998-1999, 2005-2007, 2009-2019 Free Software Foundation, Inc.
+ Copyright (C) 1998-1999, 2005-2007, 2009-2021 Free Software Foundation, Inc.
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
@@ -58,5 +58,5 @@ strcasecmp (const char *s1, const char *s2)
/* On machines where 'char' and 'int' are types of the same size, the
difference of two 'unsigned char' values - including the sign bit -
doesn't fit in an 'int'. */
- return (c1 > c2 ? 1 : c1 < c2 ? -1 : 0);
+ return _GL_CMP (c1, c2);
}