diff options
author | TingPing <tngpng@gmail.com> | 2013-07-26 22:53:01 -0400 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-07-26 22:53:01 -0400 |
commit | 2cbe758c805807bb7c596ef1574fc7b4bbf121a4 (patch) | |
tree | f352e99046ac6550958ad4548a95df2501d3d4af /plugins | |
parent | 72c6834cc51dd91870976bd5af76e896368fe50f (diff) |
Fix some warnings
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/python/python.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/python/python.c b/plugins/python/python.c index 8c424524..432f37b9 100644 --- a/plugins/python/python.c +++ b/plugins/python/python.c @@ -269,7 +269,8 @@ static char *Util_Expand(char *filename); static int Callback_Server(char *word[], char *word_eol[], hexchat_event_attrs *attrs, void *userdata); static int Callback_Command(char *word[], char *word_eol[], void *userdata); -static int Callback_Print(char *word[], hexchat_event_attrs *attrs, void *userdata); +static int Callback_Print_Attrs(char *word[], hexchat_event_attrs *attrs, void *userdata); +static int Callback_Print(char *word[], void *userdata); static int Callback_Timer(void *userdata); static int Callback_ThreadTimer(void *userdata); @@ -978,6 +979,7 @@ static PyTypeObject XChatOut_Type = { /* ===================================================================== */ /* Attribute object */ +#undef OFF #define OFF(x) offsetof(AttributeObject, x) static PyMemberDef Attribute_members[] = { |