This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] vasprintf.c fix


Hi!

This patchlet kills a warning on 64bit architectures. We need a memcpy
prototype...

2000-04-21  Jakub Jelinek  <jakub@redhat.com>

	* libio/vasprintf.c: Include string.h to get memcpy prototype.

--- libc/libio/vasprintf.c.jj	Thu Apr 13 09:25:31 2000
+++ libc/libio/vasprintf.c	Fri Apr 21 08:59:55 2000
@@ -24,6 +24,7 @@
    General Public License.  */
 
 #include <malloc.h>
+#include <string.h>
 #include "libioP.h"
 #include "stdio.h"
 #include "strfile.h"

	Jakub

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]