# HG changeset patch # User Stu Tomlinson # Date 1201268815 0 # Node ID 393c639dd021e23e4cc0f55dc5731e371e97fe2c # Parent 1c68bd1c7128862af443a5ce8d4a7c693655202f Kill this warning when using -Wstrict-prototypes: yahoo_filexfer.c:926: warning: function declaration isn't a prototype diff -r 1c68bd1c7128 -r 393c639dd021 libpurple/protocols/yahoo/yahoo_filexfer.c --- a/libpurple/protocols/yahoo/yahoo_filexfer.c Fri Jan 25 13:43:46 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo_filexfer.c Fri Jan 25 13:46:55 2008 +0000 @@ -922,7 +922,7 @@ return xfer; } -static gchar* yahoo_xfer_new_xfer_id() +static gchar* yahoo_xfer_new_xfer_id(void) { gchar *ans; int i,j; @@ -937,7 +937,7 @@ else if(j < 52) ans[i] = j - 26 + 'A'; else - ans[i] = j - 52 + '0'; + ans[i] = j - 52 + '0'; } return ans; }