Changeset f302586 in mainline for uspace/lib/c/generic/loc.c


Ignore:
Timestamp:
2012-01-14T23:31:26Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3ea725e, 8989f2a7, a1347a7
Parents:
6d8455d
Message:

make sure the client_connection is explicitly set at most once
it is not a mutable variable, it is a weak symbol

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/loc.c

    r6d8455d rf302586  
    242242
    243243/** Register new driver with loc. */
    244 int loc_server_register(const char *name, async_client_conn_t conn)
     244int loc_server_register(const char *name)
    245245{
    246246        async_exch_t *exch = loc_exchange_begin_blocking(LOC_PORT_SUPPLIER);
     
    256256                return retval;
    257257        }
    258        
    259         async_set_client_connection(conn);
    260258       
    261259        exch = loc_exchange_begin(LOC_PORT_SUPPLIER);
Note: See TracChangeset for help on using the changeset viewer.