Commit cec17865 authored by Andreas Schwab's avatar Andreas Schwab
Browse files

Always declare xmalloc.

[USE_XAW]: Include <X11/Xaw/Paned.h>.
(lwlib_memset, lwlib_bcopy): Explicitly declare return type.
parent 2e0a5ae0
......@@ -32,8 +32,8 @@ Boston, MA 02111-1307, USA. */
#ifdef __osf__
#include <string.h>
#include <stdlib.h>
extern long *xmalloc();
#endif
extern long *xmalloc();
#if defined (USE_LUCID)
#include "lwlib-Xlw.h"
......@@ -49,6 +49,7 @@ extern long *xmalloc();
#include "lwlib-Xol.h"
#endif
#if defined (USE_XAW)
#include <X11/Xaw/Paned.h>
#include "lwlib-Xaw.h"
#endif
......@@ -77,6 +78,7 @@ char *lwlib_toolkit_type = "lucid";
static void
instantiate_widget_instance (/* widget_instance* instance */);
void
lwlib_memset (address, value, length)
char *address;
int value;
......@@ -88,6 +90,7 @@ lwlib_memset (address, value, length)
address[i] = value;
}
void
lwlib_bcopy (from, to, length)
char *from;
char *to;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment