Changeset 1dc4a5e in mainline for uspace/drv/test/test3/test3.c
- Timestamp:
- 2011-08-18T13:34:33Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 763e0cd
- Parents:
- 99ac5cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/test/test3/test3.c
r99ac5cf r1dc4a5e 50 50 }; 51 51 52 static int register_fun_and_add_to_c lass(ddf_dev_t *parent,52 static int register_fun_and_add_to_category(ddf_dev_t *parent, 53 53 const char *base_name, size_t index, const char *class_name) 54 54 { … … 77 77 } 78 78 79 ddf_fun_add_to_c lass(fun, class_name);79 ddf_fun_add_to_category(fun, class_name); 80 80 81 81 ddf_msg(LVL_NOTE, "Registered exposed function `%s'.", fun_name); … … 100 100 size_t i; 101 101 for (i = 0; i < 20; i++) { 102 rc = register_fun_and_add_to_c lass(dev,102 rc = register_fun_and_add_to_category(dev, 103 103 "test3_", i, "test3"); 104 104 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.