* libc/string/memset.c (memset): Minor optimization: Use new 'd' variable,

introduced below, everywhere.
This commit is contained in:
Christopher Faylor
2002-11-25 21:11:58 +00:00
parent f24585c6bb
commit d90f3dc1ba
2 changed files with 6 additions and 1 deletions

View File

@ -103,7 +103,7 @@ _DEFUN (memset, (m, c, n),
while (n--)
{
*s++ = (char)c;
*s++ = (char)d;
}
return m;