changeset 11504:921f64947cad

[gaim-migrate @ 13749] Make gaim_debug_vargs static. It was commented for removal and with the gadu-gadu changes, nothing else needs it to be non-static. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 11 Sep 2005 05:16:59 +0000
parents cd0c8830d881
children 6e40226a3321
files plugins/ChangeLog.API src/debug.c src/debug.h
diffstat 3 files changed, 2 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/ChangeLog.API	Sun Sep 11 05:14:52 2005 +0000
+++ b/plugins/ChangeLog.API	Sun Sep 11 05:16:59 2005 +0000
@@ -124,6 +124,7 @@
 	* Added:   "buddy-added" and "buddy-removed", which are self-explanatory
 	* Added:   "blist-node-aliased", an alias was set for a buddy, chat or
 	           contact.  See the Doxygen documentation for the details.
+	* Removed: gaim_debug_vargs()
 
 version 1.0.0 (09/17/2004):
 	* Added: get_chat_name to the GaimPluginProtocolInfo struct
--- a/src/debug.c	Sun Sep 11 05:14:52 2005 +0000
+++ b/src/debug.c	Sun Sep 11 05:16:59 2005 +0000
@@ -40,9 +40,7 @@
  */
 static gboolean debug_enabled = FALSE;
 
-/* XXX I want to make this static but gg uses this for internal debug level
- * stuff and I don't really feel like unwrapping it right now. -Etan */
-void
+static void
 gaim_debug_vargs(GaimDebugLevel level, const char *category,
 				 const char *format, va_list args)
 {
--- a/src/debug.h	Sun Sep 11 05:14:52 2005 +0000
+++ b/src/debug.h	Sun Sep 11 05:16:59 2005 +0000
@@ -61,21 +61,6 @@
 /**
  * Outputs debug information.
  *
- * This differs from gaim_debug() in that it takes a va_list.
- *
- * @param level    The debug level.
- * @param category The category (or @c NULL).
- * @param format   The format string.
- * @param args     The format parameters.
- *
- * @see gaim_debug()
- */
-void gaim_debug_vargs(GaimDebugLevel level, const char *category,
-					  const char *format, va_list args);
-
-/**
- * Outputs debug information.
- *
  * @param level    The debug level.
  * @param category The category (or @c NULL).
  * @param format   The format string.