* string.h: Fix last-minute typo.
This commit is contained in:
parent
63b61cd19f
commit
6731c77ee2
@ -1,3 +1,7 @@
|
|||||||
|
Fri May 4 17:03:16 2001 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
|
* string.h: Fix last-minute typo.
|
||||||
|
|
||||||
Fri May 4 16:49:34 2001 Christopher Faylor <cgf@cygnus.com>
|
Fri May 4 16:49:34 2001 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
* pinfo.h: Correctly set __SIGOFFSET.
|
* pinfo.h: Correctly set __SIGOFFSET.
|
||||||
|
@ -23,7 +23,7 @@ extern inline __stdcall char *
|
|||||||
strchr (const char *s, int c)
|
strchr (const char *s, int c)
|
||||||
{
|
{
|
||||||
register char * res;
|
register char * res;
|
||||||
__asm__ __volatile__ ("
|
__asm__ __volatile__ ("\
|
||||||
movb %%al,%%ah\n\
|
movb %%al,%%ah\n\
|
||||||
1: movb (%1),%%al\n\
|
1: movb (%1),%%al\n\
|
||||||
cmpb %%ah,%%al\n\
|
cmpb %%ah,%%al\n\
|
||||||
@ -33,7 +33,7 @@ strchr (const char *s, int c)
|
|||||||
jne 1b\n\
|
jne 1b\n\
|
||||||
xorl %1,%1\n\
|
xorl %1,%1\n\
|
||||||
2: movl %1,%0\n\
|
2: movl %1,%0\n\
|
||||||
":"=a" (__res), "=r" (s)
|
":"=a" (res), "=r" (s)
|
||||||
:"0" (c), "1" (s));
|
:"0" (c), "1" (s));
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user