diff options
| author | dsl <dsl@NetBSD.org> | 2003-04-11 10:34:38 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2003-04-11 10:34:38 +0000 |
| commit | fbf4bd0cfe9fc1bea1cc0b0434bbe85ff66e31e7 (patch) | |
| tree | 12747c88f93a864703da761090f933afecdc373b /sys/lib | |
| parent | e89481b248fd290c0ebc5283354c159d1d610577 (diff) | |
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 (limited to 'sys/lib')
| -rw-r--r-- | sys/lib/libsa/stand.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/stand.h b/sys/lib/libsa/stand.h index 6744c0032f5..e6109d9e680 100644 --- a/sys/lib/libsa/stand.h +++ b/sys/lib/libsa/stand.h @@ -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 @@ char *strerror(int); __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); |
