- 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:
stefan 2010-08-18 07:07:47 +00:00
parent 19eaf1a3dc
commit bfceb239c1

View file

@ -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) {