Mercurial > pidgin
annotate src/protocols/zephyr/com_err.h @ 14141:5f656a0a82b7
[gaim-migrate @ 16783]
Whitespace and warning fixes:
gtkaccount.c: In function ?icon_select_cb?:
gtkaccount.c:289: warning: passing argument 1 of
?gaim_gtk_buddy_icon_chooser_new? from incompatible pointer type
gtkaccount.c:289: warning: passing argument 2 of
?gaim_gtk_buddy_icon_chooser_new? from incompatible pointer type
gtkstatusbox.c: In function ?icon_box_press_cb?:
gtkstatusbox.c:951: warning: passing argument 2 of
?gaim_gtk_buddy_icon_chooser_new? from incompatible pointer type
gtkstatusbox.c:951: warning: ISO C90 forbids mixed declarations and code
gtkstatusbox.c: In function ?icon_box_enter_cb?:
gtkstatusbox.c:960: warning: passing argument 1 of ?gtk_image_set_from_pixbuf?
from incompatible pointer type
gtkstatusbox.c: In function ?icon_box_leave_cb?:
gtkstatusbox.c:968: warning: passing argument 1 of ?gtk_image_set_from_pixbuf?
from incompatible pointer type
gtkstatusbox.c: In function ?gtk_gaim_status_box_size_allocate?:
gtkstatusbox.c:1183: warning: passing argument 1 of ?gtk_image_set_from_pixbuf?
from incompatible pointer type
gtkstatusbox.c: In function ?gtk_gaim_status_box_set_buddy_icon?:
gtkstatusbox.c:1338: warning: passing argument 1 of ?gtk_image_set_from_pixbuf?
from incompatible pointer type
gtkutils.c: In function ?gaim_gtk_convert_buddy_icon?:
gtkutils.c:2463: warning: ISO C90 forbids mixed declarations and code
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Wed, 16 Aug 2006 06:31:59 +0000 |
| parents | 424a40f12a6c |
| children |
| rev | line source |
|---|---|
| 2086 | 1 /* |
| 2 * Header file for common error description library. | |
| 3 * | |
| 4 * Copyright 1988, Student Information Processing Board of the | |
| 5 * Massachusetts Institute of Technology. | |
| 6 * | |
| 7 * For copyright and distribution info, see the documentation supplied | |
| 8 * with this package. | |
| 9 */ | |
| 10 | |
| 11 #ifndef __COM_ERR_H | |
| 12 #define __COM_ERR_H | |
| 13 | |
| 14 #define COM_ERR_BUF_LEN 25 | |
| 15 | |
| 16 /* Use __STDC__ to guess whether we can use stdarg, prototypes, and const. | |
| 17 * This is a public header file, so autoconf can't help us here. */ | |
| 18 #ifdef __STDC__ | |
| 19 # include <stdarg.h> | |
| 20 # define ETP(x) x | |
| 21 # define ETCONST const | |
| 22 #else | |
| 23 # define ETP(x) () | |
| 24 # define ETCONST | |
| 25 #endif | |
| 26 | |
| 27 typedef void (*error_handler_t) ETP((ETCONST char *, long, ETCONST char *, | |
| 28 va_list)); | |
| 29 extern error_handler_t com_err_hook; | |
| 30 void com_err ETP((ETCONST char *, long, ETCONST char *, ...)); | |
| 31 ETCONST char *error_message ETP((long)); | |
| 32 ETCONST char *error_message_r ETP((long, char *)); | |
| 33 error_handler_t set_com_err_hook ETP((error_handler_t)); | |
| 34 error_handler_t reset_com_err_hook ETP((void)); | |
| 35 | |
| 36 #undef ETP | |
| 37 | |
| 38 #endif /* ! defined(__COM_ERR_H) */ |
