Mercurial > pidgin
changeset 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 | 1c68bd1c7128 |
children | fbdf8136c98c |
files | libpurple/protocols/yahoo/yahoo_filexfer.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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; }