Fix prototype of bcopy()

Add const to void * src argument
This commit is contained in:
Andrew Bettison 2013-11-06 23:20:20 +10:30
parent a90eced640
commit 4aea05f445

2
os.h
View File

@ -66,7 +66,7 @@ __SERVALDNA_OS_INLINE void bzero(void *buf, size_t len) {
#endif
#ifndef HAVE_BCOPY
__SERVALDNA_OS_INLINE void bcopy(void *src, void *dst, size_t len) {
__SERVALDNA_OS_INLINE void bcopy(const void *src, void *dst, size_t len) {
memcpy(dst, src, len);
}
#endif