summaryrefslogtreecommitdiff
path: root/src/fe-common/core/printformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/core/printformat.h')
-rw-r--r--src/fe-common/core/printformat.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/fe-common/core/printformat.h b/src/fe-common/core/printformat.h
deleted file mode 100644
index e1dcf761..00000000
--- a/src/fe-common/core/printformat.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* 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..
- */
-#if defined (__GNUC__) && !defined (__STRICT_ANSI__)
-/* 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 */
-static
-#ifdef G_CAN_INLINE
-inline
-#endif
-void printformat(void *server, const char *channel, int level, int formatnum, ...)
-{
- printformat_format(MODULE_FORMATS, server, channel, level, formatnum);
-}
-#endif