diff options
Diffstat (limited to 'libgdict/gdict-debug.c')
-rw-r--r-- | libgdict/gdict-debug.c | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/libgdict/gdict-debug.c b/libgdict/gdict-debug.c deleted file mode 100644 index d6c12c4..0000000 --- a/libgdict/gdict-debug.c +++ /dev/null @@ -1,49 +0,0 @@ -/* gdict-debug.h - Debug facilities for Gdict - * - * Copyright (C) 2006 Emmanuele Bassi <ebassi@gmail.com> - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <stdio.h> -#include <string.h> -#include <stdlib.h> -#include <stdarg.h> -#include <sys/types.h> -#ifdef HAVE_UNISTD_H -#include <unistd.h> -#endif - -#include <glib.h> -#include <glib/gi18n-lib.h> - -#ifdef GDICT_ENABLE_DEBUG -void -_gdict_debug (const gchar *fmt, - ...) -{ - va_list args; - - fprintf (stderr, "GDICT_DEBUG: "); - - va_start (args, fmt); - vfprintf (stderr, fmt, args); - va_end (args); -} -#endif |