summaryrefslogtreecommitdiff
path: root/x11/xwit/files/patch-dsimple.c
blob: e1b2fd4bb27c296b0d82dbaad62da294cda0c747 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- dsimple.c~	Thu Oct 19 00:59:17 1995
+++ dsimple.c	Wed Jul 24 15:49:26 2002
@@ -5,6 +5,8 @@
 #include <X11/Xutil.h>
 #include <X11/cursorfont.h>
 #include <stdio.h>
+#include <stdlib.h>
+
 /*
  * Other_stuff.h: Definitions of routines in other_stuff.
  *
@@ -46,7 +48,7 @@
 char *Malloc(size)
      unsigned size;
 {
-	char *data, *malloc();
+	char *data;
 
 	if (!(data = malloc(size)))
 	  Fatal_Error("Out of memory!");
@@ -62,7 +64,7 @@
         char *ptr;
         int size;
 {
-	char *new_ptr, *realloc();
+	char *new_ptr;
 
 	if (!ptr)
 	  return(Malloc(size));