Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa Put extern definition of bcopy in () to avoid ...
details: https://anonhg.NetBSD.org/src/rev/5ed6225e1e64
branches: trunk
changeset: 545580:5ed6225e1e64
user: dsl <dsl%NetBSD.org@localhost>
date: Fri Apr 11 10:34:38 2003 +0000
description:
Put extern definition of bcopy in () to avoid macro expansion when
LIBSA_USE_MEMCPY is defined. Fixes breakage because the return
type of memcpy() is different to that of bcopy.
diffstat:
sys/lib/libsa/stand.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r d055adf8ebe9 -r 5ed6225e1e64 sys/lib/libsa/stand.h
--- a/sys/lib/libsa/stand.h Fri Apr 11 10:21:40 2003 +0000
+++ b/sys/lib/libsa/stand.h Fri Apr 11 10:34:38 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stand.h,v 1.46 2003/04/10 14:39:46 dsl Exp $ */
+/* $NetBSD: stand.h,v 1.47 2003/04/11 10:34:38 dsl Exp $ */
/*
* Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
@@ -238,7 +238,7 @@
__dead void exit(int) __attribute__((noreturn));
__dead void panic(const char *, ...) __attribute__((noreturn));
__dead void _rtt(void) __attribute__((noreturn));
-void bcopy(const void *, void *, size_t);
+void (bcopy)(const void *, void *, size_t);
void *memcpy(void *, const void *, size_t);
void *memmove(void *, const void *, size_t);
int memcmp(const void *, const void *, size_t);
Home |
Main Index |
Thread Index |
Old Index