Author: dim
Date: Fri Jan 6 22:15:58 2012
New Revision: 229739
URL: http://svn.freebsd.org/changeset/base/229739
Log:
MFC r229004:
In sys/compat/ndis/subr_ntoskrnl.c, change the RtlFillMemory function
definition from K&R to ANSI, to avoid a clang warning about the uint8_t
parameter being promoted to int, which is not compatible with the type
declared in the earlier prototype.
Modified:
stable/9/sys/compat/ndis/subr_ntoskrnl.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/compat/ndis/subr_ntoskrnl.c
==============================================================================
--- stable/9/sys/compat/ndis/subr_ntoskrnl.c Fri Jan 6 21:46:35 2012
(r229738)
+++ stable/9/sys/compat/ndis/subr_ntoskrnl.c Fri Jan 6 22:15:58 2012
(r229739)
@@ -3016,10 +3016,7 @@ RtlSecureZeroMemory(dst, len)
}
static void
-RtlFillMemory(dst, len, c)
- void *dst;
- size_t len;
- uint8_t c;
+RtlFillMemory(void *dst, size_t len, uint8_t c)
{
memset(dst, c, len);
}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"