comparison libpurple/protocols/qq/file_trans.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 44b4e8bd759b
children ac48f2e34359
comparison
equal deleted inserted replaced
21975:c7c5e2ff2b04 22007:c38d72677c8a
57 guint32 key; 57 guint32 key;
58 key = seed | (seed << 8) | (seed << 16) | (seed << 24); 58 key = seed | (seed << 8) | (seed << 16) | (seed << 24);
59 return key; 59 return key;
60 } 60 }
61 61
62 static guint32 _gen_file_key() 62 static guint32 _gen_file_key(void)
63 { 63 {
64 guint8 seed; 64 guint8 seed;
65 65
66 seed = random(); 66 seed = random();
67 return _get_file_key(seed); 67 return _get_file_key(seed);