Add (parenthetical) macro protection for one of the ovbcopy macro args.

This commit is contained in:
tv 2001-07-07 16:35:21 +00:00
parent dfd7f38a43
commit 1a4f57e22c
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: systm.h,v 1.134 2001/07/07 14:45:46 itojun Exp $ */ /* $NetBSD: systm.h,v 1.135 2001/07/07 16:35:21 tv Exp $ */
/*- /*-
* Copyright (c) 1982, 1988, 1991, 1993 * Copyright (c) 1982, 1988, 1991, 1993
@ -211,7 +211,7 @@ void tablefull __P((const char *, const char *));
int kcopy __P((const void *, void *, size_t)); int kcopy __P((const void *, void *, size_t));
#define bcopy(src, dst, len) memcpy((dst), (src), (len)) #define bcopy(src, dst, len) memcpy((dst), (src), (len))
#define ovbcopy(src, dst, len) memmove((dst), (src), len) #define ovbcopy(src, dst, len) memmove((dst), (src), (len))
#define bzero(src, len) memset((src), 0, (len)) #define bzero(src, len) memset((src), 0, (len))
#define bcmp(a, b, len) memcmp((a), (b), (len)) #define bcmp(a, b, len) memcmp((a), (b), (len))