summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2006-02-11 19:16:51 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2006-02-11 19:16:51 +0000
commita2a5254675a6b7ef0f7da9caa76c028b7c526502 (patch)
treef59099012a84e11edfdf5f936068555135cdc1dc
parentd6337c83241f0fa4bb03039a9767b58d8a1a7c91 (diff)
Add <string.h>, <stdlib.h>, and <stdio.h> to clear undefined function
warnings after the removal of libcwrapper headers.
-rw-r--r--ChangeLog9
-rw-r--r--Xext/xres.c4
-rw-r--r--afb/afbline.c1
-rw-r--r--fb/fbblt.c1
-rw-r--r--hw/dmx/config/scanner.l1
5 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 040cb2847..4dde22345 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2006-02-11 Alan Coopersmith <alan.coopersmith@sun.com>
+ * Xext/xres.c:
+ * afb/afbline.c:
+ * fb/fbblt.c:
+ * hw/dmx/config/scanner.l:
+ Add <string.h>, <stdlib.h>, and <stdio.h> to clear undefined function
+ warnings after the removal of libcwrapper headers.
+
+2006-02-11 Alan Coopersmith <alan.coopersmith@sun.com>
+
* cfb/cfbfillarc.c:
* cfb/cfbzerarc.c:
* hw/xfree86/xaa/xaaFillArc.c:
diff --git a/Xext/xres.c b/Xext/xres.c
index 5c42da426..626306670 100644
--- a/Xext/xres.c
+++ b/Xext/xres.c
@@ -2,7 +2,7 @@
Copyright (c) 2002 XFree86 Inc
*/
/* $XFree86: xc/programs/Xserver/Xext/xres.c,v 1.7tsi Exp $ */
-/* $XdotOrg: xc/programs/Xserver/Xext/xres.c,v 1.4 2005/04/20 12:25:12 daniels Exp $ */
+/* $XdotOrg: xserver/xorg/Xext/xres.c,v 1.7 2005/07/03 08:53:36 daniels Exp $ */
#define NEED_EVENTS
#define NEED_REPLIES
@@ -10,6 +10,8 @@
#include <dix-config.h>
#endif
+#include <stdio.h>
+#include <string.h>
#include <X11/X.h>
#include <X11/Xproto.h>
#include "misc.h"
diff --git a/afb/afbline.c b/afb/afbline.c
index 255ea21c1..d3f2def89 100644
--- a/afb/afbline.c
+++ b/afb/afbline.c
@@ -53,6 +53,7 @@ SOFTWARE.
#endif
#include <X11/X.h>
+#include <stdlib.h>
#include "gcstruct.h"
#include "windowstr.h"
diff --git a/fb/fbblt.c b/fb/fbblt.c
index e173b447c..de08660e3 100644
--- a/fb/fbblt.c
+++ b/fb/fbblt.c
@@ -27,6 +27,7 @@
#include <dix-config.h>
#endif
+#include <string.h>
#include "fb.h"
#define InitializeShifts(sx,dx,ls,rs) { \
diff --git a/hw/dmx/config/scanner.l b/hw/dmx/config/scanner.l
index ec450243a..cef99d088 100644
--- a/hw/dmx/config/scanner.l
+++ b/hw/dmx/config/scanner.l
@@ -40,6 +40,7 @@
#include "dmxparse.h"
#include "parser.h"
#include <string.h>
+#include <stdlib.h>
#include <ctype.h>
static int getdimension(int token, const char *text, int leng);
static int getstring(int token, const char *text, int leng);