aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab1998-04-06 10:23:30 +0000
committerAndreas Schwab1998-04-06 10:23:30 +0000
commitcec17865e82aa2f44b8b475706983cc6b26ba89f (patch)
tree0fff89cd5e2301bf0414939d9b3d6a2dba797208
parent2e0a5ae090ce3951448a8e883dd88c8af9a1247e (diff)
downloademacs-cec17865e82aa2f44b8b475706983cc6b26ba89f.tar.gz
emacs-cec17865e82aa2f44b8b475706983cc6b26ba89f.zip
Always declare xmalloc.
[USE_XAW]: Include <X11/Xaw/Paned.h>. (lwlib_memset, lwlib_bcopy): Explicitly declare return type.
-rw-r--r--lwlib/lwlib.c5
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. */
32#ifdef __osf__ 32#ifdef __osf__
33#include <string.h> 33#include <string.h>
34#include <stdlib.h> 34#include <stdlib.h>
35extern long *xmalloc();
36#endif 35#endif
36extern long *xmalloc();
37 37
38#if defined (USE_LUCID) 38#if defined (USE_LUCID)
39#include "lwlib-Xlw.h" 39#include "lwlib-Xlw.h"
@@ -49,6 +49,7 @@ extern long *xmalloc();
49#include "lwlib-Xol.h" 49#include "lwlib-Xol.h"
50#endif 50#endif
51#if defined (USE_XAW) 51#if defined (USE_XAW)
52#include <X11/Xaw/Paned.h>
52#include "lwlib-Xaw.h" 53#include "lwlib-Xaw.h"
53#endif 54#endif
54 55
@@ -77,6 +78,7 @@ char *lwlib_toolkit_type = "lucid";
77static void 78static void
78instantiate_widget_instance (/* widget_instance* instance */); 79instantiate_widget_instance (/* widget_instance* instance */);
79 80
81void
80lwlib_memset (address, value, length) 82lwlib_memset (address, value, length)
81 char *address; 83 char *address;
82 int value; 84 int value;
@@ -88,6 +90,7 @@ lwlib_memset (address, value, length)
88 address[i] = value; 90 address[i] = value;
89} 91}
90 92
93void
91lwlib_bcopy (from, to, length) 94lwlib_bcopy (from, to, length)
92 char *from; 95 char *from;
93 char *to; 96 char *to;