Changeset aa85487 in mainline for uspace/srv/net/structures/module_map.c
- Timestamp:
- 2010-03-07T15:11:56Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- aadf01e
- Parents:
- 2e99277 (diff), 137691a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/structures/module_map.c
r2e99277 raa85487 49 49 GENERIC_CHAR_MAP_IMPLEMENT( modules, module_t ) 50 50 51 int add_module( module_ref * module, modules_ref modules, c har * name,char * filename, services_t service, task_id_t task_id, connect_module_t connect_module ){51 int add_module( module_ref * module, modules_ref modules, const char * name, const 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( char * fname ){ 89 char * argv[ 2 ]; 90 // char * argv[ 4 ]; 88 task_id_t spawn( const char * fname ){ 89 const char * argv[ 2 ]; 91 90 task_id_t res; 92 91 93 // printf( "Spawning %s\n", fname );94 92 argv[ 0 ] = fname; 95 93 argv[ 1 ] = NULL; 96 94 res = task_spawn( fname, argv ); 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 } 95 107 96 return res; 108 97 }
Note:
See TracChangeset
for help on using the changeset viewer.