*
* LyX, The Document Processor
*
-* Copyright 1999-2000 The LyX Team.
+* Copyright 1999-2001 The LyX Team.
*
* ====================================================== */
#include "debug.h"
#include "gettext.h"
+#include "support/lstrings.h"
using std::ostream;
using std::setw;
using std::endl;
+namespace {
+
struct error_item {
Debug::type level;
char const * name;
char const * desc;
};
-static error_item errorTags[] = {
+
+error_item errorTags[] = {
{ Debug::NONE, "none", N_("No debugging message")},
{ Debug::INFO, "info", N_("General information")},
{ Debug::INIT, "init", N_("Program initialisation")},
};
-static const int numErrorTags = sizeof(errorTags)/sizeof(error_item);
+int const numErrorTags = sizeof(errorTags)/sizeof(error_item);
+
+} // namespace anon
Debug::type const Debug::ANY = Debug::type(