Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/bcopy.c')
-rw-r--r--newlib/libc/string/bcopy.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/newlib/libc/string/bcopy.c b/newlib/libc/string/bcopy.c
index 505e39dc7..733840b83 100644
--- a/newlib/libc/string/bcopy.c
+++ b/newlib/libc/string/bcopy.c
@@ -4,12 +4,12 @@ FUNCTION
ANSI_SYNOPSIS
#include <string.h>
- void bcopy(const void *<[in]>, void *<[out]>, size_t <[n]>);
+ void bcopy(const char *<[in]>, char *<[out]>, size_t <[n]>);
TRAD_SYNOPSIS
void bcopy(<[in]>, <[out]>, <[n]>
- const void *<[in]>;
- void *<[out]>;
+ char *<[in]>;
+ char *<[out]>;
size_t <[n]>;
DESCRIPTION
@@ -30,9 +30,9 @@ QUICKREF
void
_DEFUN (bcopy, (b1, b2, length),
- _CONST void *b1 _AND
- void *b2 _AND
+ _CONST char *b1 _AND
+ char *b2 _AND
size_t length)
{
- memmove (b2, b1, length);
+ memmove ((_PTR) b2, (_PTR) b1, length);
}