Mercurial > pidgin.yaz
diff libpurple/protocols/yahoo/yahoo_filexfer.c @ 22201:393c639dd021
Kill this warning when using -Wstrict-prototypes:
yahoo_filexfer.c:926: warning: function declaration isn't a prototype
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Fri, 25 Jan 2008 13:46:55 +0000 |
parents | eeba86c553be |
children | cc5b2a145652 e9cf897bd873 |
line wrap: on
line diff
--- 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; }