Mercurial > hg > xmms-sid
diff src/xmms-sid.c @ 879:2a50d36215c3
Move error printing function to xs_support.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 09 Nov 2012 05:18:36 +0200 |
parents | 0fdb001e456c |
children | 04dc44e87e03 |
line wrap: on
line diff
--- a/src/xmms-sid.c Fri Nov 09 05:14:41 2012 +0200 +++ b/src/xmms-sid.c Fri Nov 09 05:18:36 2012 +0200 @@ -26,7 +26,6 @@ #include <stdlib.h> #endif -#include <stdarg.h> #include <gdk/gdkkeysyms.h> #include <gtk/gtk.h> @@ -55,31 +54,6 @@ void xs_subctrl_update(void); -/* Error messages - */ -void xs_error(const char *fmt, ...) -{ - va_list ap; - fprintf(stderr, "XMMS-SID: "); - va_start(ap, fmt); - vfprintf(stderr, fmt, ap); - va_end(ap); -} - -#ifndef DEBUG_NP -void XSDEBUG(const char *fmt, ...) -{ -#ifdef DEBUG - va_list ap; - fprintf(stderr, "XSDEBUG: "); - va_start(ap, fmt); - vfprintf(stderr, fmt, ap); - va_end(ap); -#endif -} -#endif - - /* * Initialization functions */