diff options
| author | Reiner Herrmann <reiner@reiner-h.de> | 2011-01-23 23:33:38 +0100 |
|---|---|---|
| committer | Reiner Herrmann <reiner@reiner-h.de> | 2011-01-23 23:33:38 +0100 |
| commit | 322ff55a41374e39731aa53dcf6028b09c7c39c9 (patch) | |
| tree | d4865acc1c0059c395a448458d0989bb9f8481c3 /src/player.c | |
| parent | 53a80d4dc85faea83f1a59039090a3a35424208e (diff) | |
adapted client_recv_hello to data store
Diffstat (limited to 'src/player.c')
| -rw-r--r-- | src/player.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/player.c b/src/player.c deleted file mode 100644 index f4b6490..0000000 --- a/src/player.c +++ /dev/null @@ -1,21 +0,0 @@ -#include "player.h" -#include <stdlib.h> -#include <string.h> -#include <assert.h> - -player_list* create_playerlist(void) -{ - player_list* pl = malloc(sizeof(player_list)); - memset(pl, 0, sizeof(player_list)); - - return pl; -} - -void cleanup_playerlist(player_list* pl) -{ - assert(pl != NULL); - - //for(int i=0; i<MAX_PLAYERS; i++) - // free(pl->names[i]); - free(pl); -} |
