Mail Archives: djgpp-workers/2001/06/07/11:46:16
gcc-2.95.X and earlier compilers doesn't warn about use of memset()
without prototype. gcc-3.0 CVS version gives warning. This patch add
missing #include to src/libc/ansi/stdio/vsnprintf.c
Andris
*** djgpp/src/libc/ansi/stdio/vsnprntf.c~1 Mon May 21 23:25:50 2001
--- djgpp/src/libc/ansi/stdio/vsnprntf.c Thu Jun 7 17:42:38 2001
***************
*** 1,5 ****
--- 1,6 ----
/* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */
#include <stdio.h>
+ #include <string.h>
#include <stdarg.h>
#include <limits.h>
#include <errno.h>
- Raw text -