From 339b4a488d445fd355d8c6d848d12ba2587e9fc2 Mon Sep 17 00:00:00 2001 From: Mario Kilies Date: Fri, 14 Jan 2011 06:11:21 +0100 Subject: pnoc_sort() implemented. --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 1861185..87c7209 100644 --- a/src/main.c +++ b/src/main.c @@ -10,7 +10,7 @@ int main(int argc, char **argv) // The stack points window uses ts, too, so there is no separate data set // Example data set for current state window - const player_name_open_card_tuple pnoc[10] = { + pnoc_t pnoc[10] = { {"$you", 10}, {"1234567890", 23}, {"baz", 38}, @@ -22,6 +22,7 @@ int main(int argc, char **argv) {"hornoxe", 33}, {"1337nick", 74} }; + pnoc_sort(pnoc, 10); const uint8_t num_players = 10; const uint32_t score = 10; -- cgit v1.2.3