From 2cbe758c805807bb7c596ef1574fc7b4bbf121a4 Mon Sep 17 00:00:00 2001 From: TingPing Date: Fri, 26 Jul 2013 22:53:01 -0400 Subject: Fix some warnings --- plugins/python/python.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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[] = { -- cgit 1.4.1