diff options
author | Andreas Schwab <schwab@suse.de> | 1998-04-06 10:23:30 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 1998-04-06 10:23:30 +0000 |
commit | 297e1ca688f0547341d2c49ceaa86e897c3a9791 (patch) | |
tree | e5b084c151181d67b6ae50c104199c033f4e5a1c /lwlib | |
parent | c71f5561a84b7cb0dd78449a00c218e22b2766ec (diff) | |
download | emacs-297e1ca688f0547341d2c49ceaa86e897c3a9791.tar.gz |
Always declare xmalloc.
[USE_XAW]: Include <X11/Xaw/Paned.h>.
(lwlib_memset, lwlib_bcopy): Explicitly declare return type.
Diffstat (limited to 'lwlib')
-rw-r--r-- | lwlib/lwlib.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 <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; |