diff options
author | Timo Sirainen <cras@irssi.org> | 2000-05-09 11:42:42 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-05-09 11:42:42 +0000 |
commit | 93d603215114093b92837df0604c5fe285cc04a6 (patch) | |
tree | f128c498946922199a426d46574612b22c539f66 /src/fe-common/core/printtext.h | |
parent | 90ff30fcd01cd15323a6d2d5fd9797660021b475 (diff) | |
download | irssi-93d603215114093b92837df0604c5fe285cc04a6.zip |
- Compiling fixes
- GNOME version isn't anymore build here so you don't need all that GTK and
GNOME crap to compile irssi-text.
- Some fixes to compile with -ansi -pedantic
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@200 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core/printtext.h')
-rw-r--r-- | src/fe-common/core/printtext.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/fe-common/core/printtext.h b/src/fe-common/core/printtext.h index 18f3246e..acd6a03e 100644 --- a/src/fe-common/core/printtext.h +++ b/src/fe-common/core/printtext.h @@ -24,32 +24,6 @@ typedef struct { #define PRINTFLAG_MIRC_COLOR 0x20 #define PRINTFLAG_INDENT 0x40 -/* printformat(...) = printformat_format(module_formats, ...) - - Could this be any harder? :) With GNU C compiler and C99 compilers, - use #define. With others use either inline functions if they are - supported or static functions if they are not.. - */ -#ifdef __GNUC__ -/* GCC */ -# define printformat(server, channel, level, formatnum...) \ - printformat_format(MODULE_FORMATS, server, channel, level, ##formatnum) -#elif defined (_ISOC99_SOURCE) -/* C99 */ -# define printformat(server, channel, level, formatnum, ...) \ - printformat_format(MODULE_FORMATS, server, channel, level, formatnum, __VA_ARGS__) -#else -/* inline/static */ -#ifdef G_CAN_INLINE -inline -#else -static -#endif -void printformat(void *server, const char *channel, int level, int formatnum, ...) -{ - printformat_format(MODULE_FORMATS, server, channel, level, ##formatnum); -} -#endif void printformat_format(FORMAT_REC *formats, void *server, const char *channel, int level, int formatnum, ...); void printtext(void *server, const char *channel, int level, const char *str, ...); |