Removing nslog.h from .c files

This commit is contained in:
warren%netscape.com 2000-10-28 01:11:36 +00:00
Родитель b31b2cc032
Коммит 24109bafe3
4 изменённых файлов: 8 добавлений и 28 удалений

Просмотреть файл

@ -44,11 +44,6 @@
#include "npapi.h"
#include "nullplugin.h"
#include "strings.h"
#include "nslog.h"
NS_IMPL_LOG(npshellLog)
#define PRINTF NS_LOG_PRINTF(npshellLog)
#define FLUSH NS_LOG_FLUSH(npshellLog)
/***********************************************************************
*
@ -206,10 +201,10 @@ NPP_SetWindow(NPP instance, NPWindow* window)
id.
*/
#ifdef DEBUG
PRINTF("Nullplugin: plugin received window resize.\n");
PRINTF("Window=(%i)\n", (int)window);
printf("Nullplugin: plugin received window resize.\n");
printf("Window=(%i)\n", (int)window);
if (window) {
PRINTF("W=(%i) H=(%i)\n",
printf("W=(%i) H=(%i)\n",
(int)window->width, (int)window->height);
}
#endif

Просмотреть файл

@ -40,11 +40,6 @@
#include <stdio.h>
#include "npapi.h"
#include "npupp.h"
#include "nslog.h"
NS_IMPL_LOG(npunixLog)
#define PRINTF NS_LOG_PRINTF(npunixLog)
#define FLUSH NS_LOG_FLUSH(npunixLog)
/*
* Define PLUGIN_TRACE to have the wrapper functions print
@ -53,7 +48,7 @@ NS_IMPL_LOG(npunixLog)
#ifdef PLUGIN_TRACE
#include <stdio.h>
#define PLUGINDEBUGSTR(msg) PRINTF("%s\n", msg)
#define PLUGINDEBUGSTR(msg) printf("%s\n", msg)
#else
#define PLUGINDEBUGSTR(msg)
#endif

Просмотреть файл

@ -44,11 +44,6 @@
#include "npapi.h"
#include "nullplugin.h"
#include "strings.h"
#include "nslog.h"
NS_IMPL_LOG(npshellLog)
#define PRINTF NS_LOG_PRINTF(npshellLog)
#define FLUSH NS_LOG_FLUSH(npshellLog)
/***********************************************************************
*
@ -206,10 +201,10 @@ NPP_SetWindow(NPP instance, NPWindow* window)
id.
*/
#ifdef DEBUG
PRINTF("Nullplugin: plugin received window resize.\n");
PRINTF("Window=(%i)\n", (int)window);
printf("Nullplugin: plugin received window resize.\n");
printf("Window=(%i)\n", (int)window);
if (window) {
PRINTF("W=(%i) H=(%i)\n",
printf("W=(%i) H=(%i)\n",
(int)window->width, (int)window->height);
}
#endif

Просмотреть файл

@ -40,11 +40,6 @@
#include <stdio.h>
#include "npapi.h"
#include "npupp.h"
#include "nslog.h"
NS_IMPL_LOG(npunixLog)
#define PRINTF NS_LOG_PRINTF(npunixLog)
#define FLUSH NS_LOG_FLUSH(npunixLog)
/*
* Define PLUGIN_TRACE to have the wrapper functions print
@ -53,7 +48,7 @@ NS_IMPL_LOG(npunixLog)
#ifdef PLUGIN_TRACE
#include <stdio.h>
#define PLUGINDEBUGSTR(msg) PRINTF("%s\n", msg)
#define PLUGINDEBUGSTR(msg) printf("%s\n", msg)
#else
#define PLUGINDEBUGSTR(msg)
#endif