Move declaration to where the function is used.

This commit is contained in:
peterv%propagandism.org 2004-03-06 16:27:48 +00:00
parent 68a7e5f818
commit 624dc7d802
4 changed files with 6 additions and 4 deletions

View File

@ -27,6 +27,9 @@
#include "nsICategoryManager.h"
#include "nsCategoryManagerUtils.h"
extern "C" int MOZ_XMLCheckQName(const char* ptr, const char* end,
int ns_aware, const char** colon);
nsParserService::nsParserService() : mEntries(0)
{
mHaveNotifiedCategoryObservers = PR_FALSE;

View File

@ -25,8 +25,6 @@
#include "nsDTDUtils.h"
#include "nsVoidArray.h"
extern "C" int MOZ_XMLCheckQName(const char* ptr, const char* end,
int ns_aware, const char** colon);
extern "C" int MOZ_XMLIsLetter(const char* ptr);
extern "C" int MOZ_XMLIsNCNameChar(const char* ptr);

View File

@ -27,6 +27,9 @@
#include "nsICategoryManager.h"
#include "nsCategoryManagerUtils.h"
extern "C" int MOZ_XMLCheckQName(const char* ptr, const char* end,
int ns_aware, const char** colon);
nsParserService::nsParserService() : mEntries(0)
{
mHaveNotifiedCategoryObservers = PR_FALSE;

View File

@ -25,8 +25,6 @@
#include "nsDTDUtils.h"
#include "nsVoidArray.h"
extern "C" int MOZ_XMLCheckQName(const char* ptr, const char* end,
int ns_aware, const char** colon);
extern "C" int MOZ_XMLIsLetter(const char* ptr);
extern "C" int MOZ_XMLIsNCNameChar(const char* ptr);