- cosmetic changes
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@106 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
parent
19eaf1a3dc
commit
bfceb239c1
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ int strcmp(const char *s1, const char *s2)
|
|||
#ifndef HAVE_ARCH_STRNCMP
|
||||
int strncmp(const char *s1, const char *s2, size_t n)
|
||||
{
|
||||
if (n == 0)
|
||||
if (BUILTIN_EXPECT(n == 0, 0))
|
||||
return 0;
|
||||
|
||||
while (n-- != 0 && *s1 == *s2) {
|
||||
|
|
Loading…
Add table
Reference in a new issue