From cec17865e82aa2f44b8b475706983cc6b26ba89f Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 6 Apr 1998 10:23:30 +0000 Subject: [PATCH] Always declare xmalloc. [USE_XAW]: Include . (lwlib_memset, lwlib_bcopy): Explicitly declare return type. --- lwlib/lwlib.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lwlib/lwlib.c b/lwlib/lwlib.c index 981c92e5686..f6734038fe0 100644 --- a/lwlib/lwlib.c +++ b/lwlib/lwlib.c @@ -32,8 +32,8 @@ Boston, MA 02111-1307, USA. */ #ifdef __osf__ #include #include -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 #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; -- 2.39.2