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:
authorChristopher Faylor <me@cgf.cx>2001-05-05 01:06:13 +0400
committerChristopher Faylor <me@cgf.cx>2001-05-05 01:06:13 +0400
commit6731c77ee2738061a1832744833cd6bbe2a353bf (patch)
tree86f02e5a067c2f56c6efccadba5a51eac129a637 /winsup/cygwin/string.h
parent63b61cd19ff1ae741a8c3403c1c3fa12bea1c893 (diff)
* string.h: Fix last-minute typo.
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;
}