Skip to contentSkip to conversation

vgabios: include <string.h> in biossums.c for memset declaration

PATCH New Carlo Marcelo Arenas Belon 1 participant 1 message Jan 7, 2008 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vgabios: include <string.h> in biossums.c for memset declaration

Fixes :

biossums.c: In function 'main':
biossums.c:62: warning: incompatible implicit declaration of built-in function 'memset

---
 vgabios/biossums.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
vgabios/biossums.c +1 -0
index 5014efc..b0378fb 100644
@@ -17,6 +17,7 @@
  */
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 
 typedef unsigned char byte;
 
Signature · 7 lines
1.5.3.7


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/