comparison libpurple/protocols/msnp9/slpcall.c @ 22007:c38d72677c8a

Probe for -Wstrict-prototypes to get some more warnings. I then cleaned up the existing warnings. I removed a handful of dead code and cleaned up a couple of things that I stumbled across.
author Richard Laager <rlaager@wiktel.com>
date Thu, 03 Jan 2008 04:57:40 +0000
parents a07cfce78345
children 7eeb81cbbcae
comparison
equal deleted inserted replaced
21975:c7c5e2ff2b04 22007:c38d72677c8a
32 /************************************************************************** 32 /**************************************************************************
33 * Util 33 * Util
34 **************************************************************************/ 34 **************************************************************************/
35 35
36 static char * 36 static char *
37 rand_guid() 37 rand_guid(void)
38 { 38 {
39 return g_strdup_printf("%4X%4X-%4X-%4X-%4X-%4X%4X%4X", 39 return g_strdup_printf("%4X%4X-%4X-%4X-%4X-%4X%4X%4X",
40 rand() % 0xAAFF + 0x1111, 40 rand() % 0xAAFF + 0x1111,
41 rand() % 0xAAFF + 0x1111, 41 rand() % 0xAAFF + 0x1111,
42 rand() % 0xAAFF + 0x1111, 42 rand() % 0xAAFF + 0x1111,