mirror of
https://github.com/FDOS/kernel.git
synced 2025-04-08 17:15:17 +02:00
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 */
|
||||
STATIC VOID strupr(char *s)
|
||||
{
|
||||
while (*s)
|
||||
*s++ = toupper(*s);
|
||||
while (*s) {
|
||||
*s = toupper(*s);
|
||||
s++;
|
||||
}
|
||||
}
|
||||
|
||||
/* The following code is 8086 dependant */
|
||||
|
Loading…
x
Reference in New Issue
Block a user