along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
-#include <memory.h>
-
#include <X11/Xatom.h>
#include <X11/IntrinsicP.h>
#include <X11/ObjectP.h>
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])) */
#undef __STRICT_BSD__ /* ick */
#endif
-#include <stdlib.h>
-#include <unistd.h>
#include <sys/types.h>
-#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include "lwlib-int.h"
instanciate_widget_instance (/* widget_instance* instance */);
\f/* utility functions for widget_instance and widget_info */
-static char *
+char *
safe_strdup (s)
char *s;
{