Ignore:
Timestamp:
2010-03-07T15:11:56Z (14 years ago)
Author:
Lukas Mejdrech <lukasmejdrech@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
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.
Message:

Merge mainline changes, revision 308

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/structures/module_map.c

    r2e99277 raa85487  
    4949GENERIC_CHAR_MAP_IMPLEMENT( modules, module_t )
    5050
    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 ){
     51int 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 ){
    5252        ERROR_DECLARE;
    5353
     
    8686}
    8787
    88 task_id_t spawn( char * fname ){
    89         char * argv[ 2 ];
    90 //      char * argv[ 4 ];
     88task_id_t spawn( const char * fname ){
     89        const char * argv[ 2 ];
    9190        task_id_t       res;
    9291
    93 //      printf( "Spawning %s\n", fname );
    9492        argv[ 0 ] = fname;
    9593        argv[ 1 ] = NULL;
    9694        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
    10796        return res;
    10897}
Note: See TracChangeset for help on using the changeset viewer.