Changeset aaa3f33a in mainline for uspace/lib/c/generic/net/socket_client.c
- Timestamp:
- 2010-11-19T21:26:08Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a7811f17, cc3c2a1c
- Parents:
- 4eca056
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/net/socket_client.c
r4eca056 raaa3f33a 157 157 158 158 /** Active sockets. */ 159 sockets_ refsockets;159 sockets_t *sockets; 160 160 161 161 /** Safety lock. … … 180 180 * @returns The active sockets. 181 181 */ 182 static sockets_ refsocket_get_sockets(void)182 static sockets_t *socket_get_sockets(void) 183 183 { 184 184 if (!socket_globals.sockets) { 185 185 socket_globals.sockets = 186 (sockets_ ref) malloc(sizeof(sockets_t));186 (sockets_t *) malloc(sizeof(sockets_t)); 187 187 if (!socket_globals.sockets) 188 188 return NULL; … … 327 327 static int socket_generate_new_id(void) 328 328 { 329 sockets_ refsockets;329 sockets_t *sockets; 330 330 int socket_id = 0; 331 331 int count;
Note:
See TracChangeset
for help on using the changeset viewer.