diff options
Diffstat (limited to 'gl/streq.h')
| -rw-r--r-- | gl/streq.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Optimized string comparison. | 1 | /* Optimized string comparison. |
| 2 | Copyright (C) 2001-2002, 2007, 2009-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2002, 2007, 2009-2026 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is free software: you can redistribute it and/or modify | 4 | This file is free software: you can redistribute it and/or modify |
| 5 | it under the terms of the GNU Lesser General Public License as | 5 | it under the terms of the GNU Lesser General Public License as |
| @@ -39,7 +39,7 @@ extern "C" { | |||
| 39 | static inline int | 39 | static inline int |
| 40 | streq9 (const char *s1, const char *s2) | 40 | streq9 (const char *s1, const char *s2) |
| 41 | { | 41 | { |
| 42 | return strcmp (s1 + 9, s2 + 9) == 0; | 42 | return streq (s1 + 9, s2 + 9); |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | static inline int | 45 | static inline int |
