Removed extra 0 arg from macro.

git-svn-id: svn://10.0.0.236/trunk@81896 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com 2000-10-27 23:37:22 +00:00
parent 46845c3a3e
commit e83a41018c
15 changed files with 21 additions and 17 deletions

View File

@ -41,7 +41,7 @@
#include "glib.h"
#include "nslog.h"
NS_IMPL_LOG(nsAppShellLog, 0)
NS_IMPL_LOG(nsAppShellLog)
#define PRINTF NS_LOG_PRINTF(nsAppShellLog)
#define FLUSH NS_LOG_FLUSH(nsAppShellLog)

View File

@ -50,7 +50,7 @@
#undef NS_IMPL_IDS
#include "nslog.h"
NS_IMPL_LOG(nsClipboardLog, 0)
NS_IMPL_LOG(nsClipboardLog)
#define PRINTF NS_LOG_PRINTF(nsClipboardLog)
#define FLUSH NS_LOG_FLUSH(nsClipboardLog)

View File

@ -20,15 +20,18 @@
* Contributor(s):
*/
#include "nslog.h"
#undef printf
#undef fprintf
#include "nsCOMPtr.h"
#include "nsIServiceManager.h"
#include "nsICharsetConverterManager.h"
#include "nsIPlatformCharset.h"
#include "nsFileWidget.h"
#include "nsIToolkit.h"
#include "nslog.h"
NS_IMPL_LOG(nsFileWidgetLog, 0)
NS_IMPL_LOG(nsFileWidgetLog)
#define PRINTF NS_LOG_PRINTF(nsFileWidgetLog)
#define FLUSH NS_LOG_FLUSH(nsFileWidgetLog)
@ -115,7 +118,7 @@ static void file_cancel_clicked(GtkWidget *w, PRBool *ret)
static gint file_delete_window(GtkWidget *w, gpointer data)
{
PRINTF("window closed\n");
PRINTF("window closed\n");
gtk_main_quit();
return PR_TRUE;
}

View File

@ -33,7 +33,7 @@
#include "nsFontSizeIterator.h"
#include "nslog.h"
NS_IMPL_LOG(nsFontRetrieverServiceLog, 0)
NS_IMPL_LOG(nsFontRetrieverServiceLog)
#define PRINTF NS_LOG_PRINTF(nsFontRetrieverServiceLog)
#define FLUSH NS_LOG_FLUSH(nsFontRetrieverServiceLog)

View File

@ -42,7 +42,7 @@
#include <X11/Xutil.h>
#include "nslog.h"
NS_IMPL_LOG(nsGtkEventHandlerLog, 0)
NS_IMPL_LOG(nsGtkEventHandlerLog)
#define PRINTF NS_LOG_PRINTF(nsGtkEventHandlerLog)
#define FLUSH NS_LOG_FLUSH(nsGtkEventHandlerLog)

View File

@ -35,7 +35,7 @@
#include "nsWindow.h"
#include "nslog.h"
NS_IMPL_LOG(nsGtkIMEHelperLog, 0)
NS_IMPL_LOG(nsGtkIMEHelperLog)
#define PRINTF NS_LOG_PRINTF(nsGtkIMEHelperLog)
#define FLUSH NS_LOG_FLUSH(nsGtkIMEHelperLog)

View File

@ -26,7 +26,7 @@
#include "nsXPLookAndFeel.h"
#include "nslog.h"
NS_IMPL_LOG(nsLookAndFeelLog, 0)
NS_IMPL_LOG(nsLookAndFeelLog)
#define PRINTF NS_LOG_PRINTF(nsLookAndFeelLog)
#define FLUSH NS_LOG_FLUSH(nsLookAndFeelLog)

View File

@ -37,7 +37,7 @@
#include <gtk/gtk.h>
#include "nslog.h"
NS_IMPL_LOG(nsSoundLog, 0)
NS_IMPL_LOG(nsSoundLog)
#define PRINTF NS_LOG_PRINTF(nsSoundLog)
#define FLUSH NS_LOG_FLUSH(nsSoundLog)

View File

@ -27,7 +27,7 @@
#include "nsString.h"
#include "nslog.h"
NS_IMPL_LOG(nsTextHelperLog, 0)
NS_IMPL_LOG(nsTextHelperLog)
#define PRINTF NS_LOG_PRINTF(nsTextHelperLog)
#define FLUSH NS_LOG_FLUSH(nsTextHelperLog)

View File

@ -44,8 +44,9 @@
#include "nsIPref.h"
#include "nsGtkIMEHelper.h"
#include "nslog.h"
#undef fprintf
NS_IMPL_LOG(nsWidgetLog, 0)
NS_IMPL_LOG(nsWidgetLog)
#define PRINTF NS_LOG_PRINTF(nsWidgetLog)
#define FLUSH NS_LOG_FLUSH(nsWidgetLog)

View File

@ -60,7 +60,7 @@
#include <unistd.h>
#include "nslog.h"
NS_IMPL_LOG(nsWindowLog, 0)
NS_IMPL_LOG(nsWindowLog)
#define PRINTF NS_LOG_PRINTF(nsWindowLog)
#define FLUSH NS_LOG_FLUSH(nsWindowLog)

View File

@ -44,7 +44,7 @@ static PRInt32 gNumWidgets;
#include "nslog.h"
#undef fprintf
NS_IMPL_LOG(nsBaseWidgetLog, 0)
NS_IMPL_LOG(nsBaseWidgetLog)
#define PRINTF NS_LOG_PRINTF(nsBaseWidgetLog)
#define FLUSH NS_LOG_FLUSH(nsBaseWidgetLog)

View File

@ -49,7 +49,7 @@ Notes to self:
#include "nsSpecialSystemDirectory.h"
#include "nslog.h"
NS_IMPL_LOG(nsTransferableLog, 0)
NS_IMPL_LOG(nsTransferableLog)
#define PRINTF NS_LOG_PRINTF(nsTransferableLog)
#define FLUSH NS_LOG_FLUSH(nsTransferableLog)

View File

@ -24,7 +24,7 @@
#include "nsIServiceManager.h"
#include "nslog.h"
NS_IMPL_LOG(nsXPLookAndFeelLog, 0)
NS_IMPL_LOG(nsXPLookAndFeelLog)
#define PRINTF NS_LOG_PRINTF(nsXPLookAndFeelLog)
#define FLUSH NS_LOG_FLUSH(nsXPLookAndFeelLog)

View File

@ -29,7 +29,7 @@
#include "nsCOMPtr.h"
#include "nslog.h"
NS_IMPL_LOG(nsTimerGtkLog, 0)
NS_IMPL_LOG(nsTimerGtkLog)
#define PRINTF NS_LOG_PRINTF(nsTimerGtkLog)
#define FLUSH NS_LOG_FLUSH(nsTimerGtkLog)