Changes in uspace/srv/net/structures/module_map.c [a000878c:21580dd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/structures/module_map.c
ra000878c r21580dd 49 49 GENERIC_CHAR_MAP_IMPLEMENT( modules, module_t ) 50 50 51 int add_module( module_ref * module, modules_ref modules, c onst char * name, constchar * filename, services_t service, task_id_t task_id, connect_module_t connect_module ){51 int add_module( module_ref * module, modules_ref modules, char * name, char * filename, services_t service, task_id_t task_id, connect_module_t connect_module ){ 52 52 ERROR_DECLARE; 53 53 … … 86 86 } 87 87 88 task_id_t spawn( const char * fname ){ 89 const char * argv[ 2 ]; 88 task_id_t spawn( char * fname ){ 89 char * argv[ 2 ]; 90 // char * argv[ 4 ]; 90 91 task_id_t res; 91 92 93 // printf( "Spawning %s\n", fname ); 92 94 argv[ 0 ] = fname; 93 95 argv[ 1 ] = NULL; 94 96 res = task_spawn( fname, argv ); 95 97 /* argv[ 0 ] = "/app/trace"; 98 argv[ 1 ] = "+ti"; 99 argv[ 2 ] = fname; 100 argv[ 3 ] = NULL; 101 res = task_spawn( "/app/trace", argv ); 102 */ 103 if( res != 0 ){ 104 /* Success */ 105 usleep( 10000 ); 106 } 96 107 return res; 97 108 }
Note:
See TracChangeset
for help on using the changeset viewer.