# HG changeset patch # User Andreas Schwab # Date 891858210 0 # Node ID fb4644a9f761241f7ba1fb42240c65506c1a50e1 # Parent 5ade0c90128e13d6c6bf2db4fc51c3f5c7d80744 Always declare xmalloc. [USE_XAW]: Include . (lwlib_memset, lwlib_bcopy): Explicitly declare return type. diff -r 5ade0c90128e -r fb4644a9f761 lwlib/lwlib.c --- a/lwlib/lwlib.c Mon Apr 06 10:17:33 1998 +0000 +++ b/lwlib/lwlib.c Mon Apr 06 10:23:30 1998 +0000 @@ -32,8 +32,8 @@ #ifdef __osf__ #include #include +#endif extern long *xmalloc(); -#endif #if defined (USE_LUCID) #include "lwlib-Xlw.h" @@ -49,6 +49,7 @@ #include "lwlib-Xol.h" #endif #if defined (USE_XAW) +#include #include "lwlib-Xaw.h" #endif @@ -77,6 +78,7 @@ static void instantiate_widget_instance (/* widget_instance* instance */); +void lwlib_memset (address, value, length) char *address; int value; @@ -88,6 +90,7 @@ address[i] = value; } +void lwlib_bcopy (from, to, length) char *from; char *to;