delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/07/11:46:16

From: pavenis AT lanet DOT lv
To: djgpp-workers AT delorie DOT com
Date: Thu, 7 Jun 2001 18:45:44 +0300
MIME-Version: 1.0
Subject: [PATCH] vsnprintf.c uses memset() without prototype
Message-ID: <3B1FCBD8.28751.1EA6EEF@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019