Changeset 98b1d30 in mainline
- Timestamp:
- 2018-02-03T10:52:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5c69377
- Parents:
- be01eb3
- Location:
- uspace/app/tmon
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tmon/list.c
rbe01eb3 r98b1d30 49 49 static void print_list_item(service_id_t svc) 50 50 { 51 int rc;51 errno_t rc; 52 52 devman_handle_t diag_handle = 0; 53 53 -
uspace/app/tmon/resolve.h
rbe01eb3 r98b1d30 39 39 #include <devman.h> 40 40 41 int tmon_resolve_default(devman_handle_t *);42 int tmon_resolve_named(const char *, devman_handle_t *);41 errno_t tmon_resolve_default(devman_handle_t *); 42 errno_t tmon_resolve_named(const char *, devman_handle_t *); 43 43 44 44 #endif /* TMON_RESOLVE_H_ */ -
uspace/app/tmon/tests.c
rbe01eb3 r98b1d30 66 66 * @return EOK if successful (in such case caller becomes the owner of `params`). 67 67 */ 68 static int read_params(int argc, char *argv[], void **params)69 { 70 int rc;68 static errno_t read_params(int argc, char *argv[], void **params) 69 { 70 errno_t rc; 71 71 usbdiag_test_params_t *p = (usbdiag_test_params_t *) malloc(sizeof(usbdiag_test_params_t)); 72 72 if (!p) … … 182 182 183 183 usbdiag_test_results_t results; 184 int rc = usbdiag_test_in(exch, params, &results);184 errno_t rc = usbdiag_test_in(exch, params, &results); 185 185 if (rc != EOK) { 186 186 puts("failed\n"); … … 207 207 208 208 usbdiag_test_results_t results; 209 int rc = usbdiag_test_out(exch, params, &results);209 errno_t rc = usbdiag_test_out(exch, params, &results); 210 210 if (rc) { 211 211 puts("failed\n"); -
uspace/app/tmon/tf.c
rbe01eb3 r98b1d30 67 67 } 68 68 69 int rc, ec; 69 errno_t rc; 70 int ec; 70 71 char path[MAX_PATH_LENGTH]; 71 72 if ((rc = devman_fun_get_path(fun, path, sizeof(path)))) { -
uspace/app/tmon/tf.h
rbe01eb3 r98b1d30 42 42 /** Operations to implement by all tests. */ 43 43 typedef struct tmon_test_ops { 44 int (*pre_run)(void *);45 int (*run)(async_exch_t *, const void *);46 int (*read_params)(int, char **, void **);44 errno_t (*pre_run)(void *); 45 errno_t (*run)(async_exch_t *, const void *); 46 errno_t (*read_params)(int, char **, void **); 47 47 } tmon_test_ops_t; 48 48
Note:
See TracChangeset
for help on using the changeset viewer.