Changeset a32defa in mainline for uspace/srv/devman/util.h


Ignore:
Timestamp:
2010-06-01T20:53:07Z (14 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a6e54c5d
Parents:
ce89036b
Message:

Register devices in the device tree by the device mapper so the device hierarchy can be seen from devfs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/util.h

    rce89036b ra32defa  
    7777}
    7878
     79static inline void replace_char(char *str, char orig, char repl)
     80{
     81        while (*str) {
     82                if (orig == *str) {
     83                        *str = repl;
     84                }
     85                str++;
     86        }
     87}
     88
    7989#endif
Note: See TracChangeset for help on using the changeset viewer.