# HG changeset patch # User Richard M. Stallman # Date 768524906 0 # Node ID 4a5d0d1092427210aaa4d4f9c5cd4661478b5e43 # Parent 49876b60d0c6775674f68abcb5ad770876b46055 *** empty log message *** diff -r 49876b60d0c6 -r 4a5d0d109242 lwlib/lwlib-utils.c --- a/lwlib/lwlib-utils.c Mon May 09 22:54:09 1994 +0000 +++ b/lwlib/lwlib-utils.c Mon May 09 23:08:26 1994 +0000 @@ -17,11 +17,6 @@ along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include -#include -#include -#include - #include #include #include @@ -68,7 +63,7 @@ int nkids = cw->composite.num_children; Widget *kids = (Widget *) malloc (sizeof (Widget) * nkids); int i; - memcpy (kids, cw->composite.children, sizeof (Widget) * nkids); + bcopy (cw->composite.children, kids, sizeof (Widget) * nkids); for (i = 0; i < nkids; i++) /* This prevent us from using gadgets, why is it here? */ /* if (XtIsWidget (kids [i])) */ diff -r 49876b60d0c6 -r 4a5d0d109242 lwlib/lwlib.c --- a/lwlib/lwlib.c Mon May 09 22:54:09 1994 +0000 +++ b/lwlib/lwlib.c Mon May 09 23:08:26 1994 +0000 @@ -21,10 +21,7 @@ #undef __STRICT_BSD__ /* ick */ #endif -#include -#include #include -#include #include #include #include "lwlib-int.h" @@ -77,7 +74,7 @@ instanciate_widget_instance (/* widget_instance* instance */); /* utility functions for widget_instance and widget_info */ -static char * +char * safe_strdup (s) char *s; {