Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/string.h')
-rw-r--r--winsup/cygwin/string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/string.h b/winsup/cygwin/string.h
index 20bf6fdba..93f0c9001 100644
--- a/winsup/cygwin/string.h
+++ b/winsup/cygwin/string.h
@@ -23,7 +23,7 @@ extern inline __stdcall char *
strchr (const char *s, int c)
{
register char * res;
- __asm__ __volatile__ ("
+ __asm__ __volatile__ ("\
movb %%al,%%ah\n\
1: movb (%1),%%al\n\
cmpb %%ah,%%al\n\
@@ -33,7 +33,7 @@ strchr (const char *s, int c)
jne 1b\n\
xorl %1,%1\n\
2: movl %1,%0\n\
- ":"=a" (__res), "=r" (s)
+ ":"=a" (res), "=r" (s)
:"0" (c), "1" (s));
return res;
}