diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-05-09 23:08:26 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-05-09 23:08:26 +0000 |
commit | bb2ee72bdfdb7be9b587f494873a489a2bee1466 (patch) | |
tree | a1c8d711c6d73a08fbc21d47b82fb79f9c94c4a3 /lwlib/lwlib-utils.c | |
parent | 327bebe8044741384241bbe5c7c99904c3d748d8 (diff) | |
download | emacs-bb2ee72bdfdb7be9b587f494873a489a2bee1466.tar.gz |
*** empty log message ***
Diffstat (limited to 'lwlib/lwlib-utils.c')
-rw-r--r-- | lwlib/lwlib-utils.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lwlib/lwlib-utils.c b/lwlib/lwlib-utils.c index c6899b57af7..c966e9645e5 100644 --- a/lwlib/lwlib-utils.c +++ b/lwlib/lwlib-utils.c @@ -17,11 +17,6 @@ You should have received a copy of the GNU General Public License 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> @@ -68,7 +63,7 @@ XtApplyToWidgets (w, proc, arg) 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])) */ |