summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2025-11-04 09:14:54 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2025-11-04 13:32:58 -0800
commit59fbaca6b9b48c217c60fc5ab21240ba104059e8 (patch)
tree32b81d61d969b243df62ab60a3c472a34d200976 /lib-src
parent327c16ce14897ad4f1e5f9759b9773f97549eae1 (diff)
Update from Gnulib by running admin/merge-gnulib
* admin/merge-gnulib (GNULIB_MODULES): Add stringeq. With current Gnulib it is already present as in indirect dependency; listing it here because Emacs now depends on it directly. * lib-src/ebrowse.c, lib-src/etags.c: (streq): Remove, as Gnulib defines this now. * lib/fseterr.c, lib/fseterr.h, lib/issymlink.c, lib/issymlink.h: * lib/issymlinkat.c, lib/stdio-consolesafe.c, lib/string.c: * m4/fseterr.m4, m4/gettext_h.m4, m4/stringeq.m4: New files from Gnulib. * src/conf_post.h (tzfree) [__ANDROID_API__ >= 35]: Remove.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ebrowse.c8
-rw-r--r--lib-src/etags.c6
2 files changed, 0 insertions, 14 deletions
diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c
index 61a45622933..391ca1151db 100644
--- a/lib-src/ebrowse.c
+++ b/lib-src/ebrowse.c
@@ -35,14 +35,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
enum { READ_CHUNK_SIZE = 100 * 1024 };
-/* Value is true if strings X and Y compare equal. */
-
-static bool
-streq (char const *x, char const *y)
-{
- return strcmp (x, y) == 0;
-}
-
static bool
filename_eq (char const *x, char const *y)
{
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 6dde9c42e13..8c9d7336c8a 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -148,12 +148,6 @@ memcpyz (void *dest, void const *src, ptrdiff_t len)
}
static bool
-streq (char const *s, char const *t)
-{
- return strcmp (s, t) == 0;
-}
-
-static bool
strcaseeq (char const *s, char const *t)
{
return c_strcasecmp (s, t) == 0;