[PATCH] Small warning fixes
Jakub Jelinek
jakub@redhat.com
Tue Nov 18 13:04:00 GMT 2003
Hi!
2003-11-18 Jakub Jelinek <jakub@redhat.com>
* io/bug-ftw4.c: Include string.h.
* posix/fnmatch.c (mbsinit): Remove define.
--- libc/io/bug-ftw4.c.jj 2003-11-04 22:10:35.000000000 +0100
+++ libc/io/bug-ftw4.c 2003-11-18 13:57:07.000000000 +0100
@@ -22,6 +22,7 @@
#include <ftw.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
--- libc/posix/fnmatch.c.jj 2003-03-16 02:03:46.000000000 +0100
+++ libc/posix/fnmatch.c 2003-11-18 13:55:25.000000000 +0100
@@ -59,7 +59,6 @@
# include <shlib-compat.h>
# define CONCAT(a,b) __CONCAT(a,b)
-# define mbsinit __mbsinit
# define mbsrtowcs __mbsrtowcs
# define fnmatch __fnmatch
extern int fnmatch (const char *pattern, const char *string, int flags);
Jakub
More information about the Libc-hacker
mailing list