diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 2002-07-25 12:03:41 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 2002-07-25 12:03:41 +0000 |
commit | 90c1ebc2d2e08d7220f8b145199e9c76fb101642 (patch) | |
tree | 13ee1426b71c967cc62da7480ba7fe4df9fc5476 /x11/xwit/files | |
parent | Update to 0.43. (diff) |
Upgrade to 3.4.
PR: 40924
Submitted by: Maxim Tulyuk <mt@primats.org.ua>
Notes
Notes:
svn path=/head/; revision=63525
Diffstat (limited to 'x11/xwit/files')
-rw-r--r-- | x11/xwit/files/patch-dsimple.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/x11/xwit/files/patch-dsimple.c b/x11/xwit/files/patch-dsimple.c new file mode 100644 index 000000000000..e1b2fd4bb27c --- /dev/null +++ b/x11/xwit/files/patch-dsimple.c @@ -0,0 +1,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)); |