mirror of https://github.com/FDOS/kernel.git
Make strupr code unambiguous
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@752 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
677bac3481
commit
dacd24e524
|
@ -1672,8 +1672,10 @@ STATIC COUNT toupper(COUNT c)
|
||||||
/* Convert string s to uppercase */
|
/* Convert string s to uppercase */
|
||||||
STATIC VOID strupr(char *s)
|
STATIC VOID strupr(char *s)
|
||||||
{
|
{
|
||||||
while (*s)
|
while (*s) {
|
||||||
*s++ = toupper(*s);
|
*s = toupper(*s);
|
||||||
|
s++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The following code is 8086 dependant */
|
/* The following code is 8086 dependant */
|
||||||
|
|
Loading…
Reference in New Issue