$NetBSD: patch-ao,v 1.1 2007/10/13 18:12:40 rillig Exp $

Defining methods is anonymous namespaces is a bad idea.

--- src/font.C.orig	2007-10-13 16:02:27.000000000 +0000
+++ src/font.C	2007-10-13 17:08:41.000000000 +0000
@@ -30,7 +30,6 @@
 extern LyXCodeConv codeconverter;
 #endif
 
-namespace {
 #ifdef I18N
   XFontSet LyXFont::getXFontset() const
   {
@@ -50,6 +49,7 @@ XFontStruct * getXFontstruct(LyXFont con
 }
 #endif
 
+namespace {
 inline
 XID getFontID(LyXFont const & f)
 {
@@ -64,7 +64,7 @@ XID getFontID(LyXFont const & f)
                  return f.getXFontset();
           }
 #endif
-} // namespace anon
+}
 
 int lyxfont::maxAscent(LyXFont const & f)
 {
