Changeset db25906 in mainline for kernel/generic/src/console


Ignore:
Timestamp:
2007-10-05T05:16:18Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c4e75ea
Parents:
f7fad5a
Message:

Remove duplicit implementation of strlen() in kernel, rename is_digit(),
is_white() and co. to their standard names (e.g. isdigit(), isspace()) and
remove duplicit implementation of isdigit(). Fix cstyle in kernel printf()
implementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/kconsole.c

    rf7fad5a rdb25906  
    617617        for (i = *start; i < len; i++) {
    618618                if (!found_start) {
    619                         if (is_white(cmdline[i]))
     619                        if (isspace(cmdline[i]))
    620620                                (*start)++;
    621621                        else
    622622                                found_start = true;
    623623                } else {
    624                         if (is_white(cmdline[i]))
     624                        if (isspace(cmdline[i]))
    625625                                break;
    626626                }
Note: See TracChangeset for help on using the changeset viewer.