summaryrefslogtreecommitdiffstats
path: root/Python/memmove.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-22 18:47:25 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-22 18:47:25 (GMT)
commitf70ef4f8606f99744252a804229d53a4d97601c1 (patch)
treebe401f2f10b39f0603e4cc0ae091335890410b7f /Python/memmove.c
parent0452d1f316903f0553a0d92e0673ff37247cdfa5 (diff)
downloadcpython-f70ef4f8606f99744252a804229d53a4d97601c1.zip
cpython-f70ef4f8606f99744252a804229d53a4d97601c1.tar.gz
cpython-f70ef4f8606f99744252a804229d53a4d97601c1.tar.bz2
Mass ANSIfication of function definitions. Doesn't cover all 'extern'
declarations yet, those come later.
Diffstat (limited to 'Python/memmove.c')
-rw-r--r--Python/memmove.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/Python/memmove.c b/Python/memmove.c
index 267cf56..f44bf04 100644
--- a/Python/memmove.c
+++ b/Python/memmove.c
@@ -10,13 +10,10 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
/* A perhaps slow but I hope correct implementation of memmove */
-extern char *memcpy();
+extern char *memcpy(char *, char *, int);
char *
-memmove(dst, src, n)
- char *dst;
- char *src;
- int n;
+memmove(char *dst, char *src, int n)
{
char *realdst = dst;
if (n <= 0)