aboutsummaryrefslogtreecommitdiff
path: root/gdb/gmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gmalloc.c')
-rwxr-xr-xgdb/gmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gmalloc.c b/gdb/gmalloc.c
index 6f10e09..775e2da 100755
--- a/gdb/gmalloc.c
+++ b/gdb/gmalloc.c
@@ -216,7 +216,7 @@ extern PTR EXFUN(realloc, (PTR, size_t));
#include <stddef.h>
#endif
-extern PTR EXFUN(memcpy, (PTR, PTR, size_t));
+extern PTR EXFUN(memcpy, (PTR, CONST PTR, size_t));
extern PTR EXFUN(memset, (PTR, int, size_t));
#define memmove memcpy