changeset 21391:fb4644a9f761

Always declare xmalloc. [USE_XAW]: Include <X11/Xaw/Paned.h>. (lwlib_memset, lwlib_bcopy): Explicitly declare return type.
author Andreas Schwab <schwab@suse.de>
date Mon, 06 Apr 1998 10:23:30 +0000
parents 5ade0c90128e
children 20bc0bd34ada
files lwlib/lwlib.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 <string.h>
 #include <stdlib.h>
+#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 <X11/Xaw/Paned.h>
 #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;