diff --git a/src/Layout.cpp b/src/Layout.cpp index c5bc4e5d10..598222237a 100644 --- a/src/Layout.cpp +++ b/src/Layout.cpp @@ -29,9 +29,6 @@ namespace lyx { using support::subst; using support::trim; -#ifndef FONT_H -extern FontInfo lyxRead(Lexer &, FontInfo const & fi = sane_font); -#endif /// Special value of toclevel for layouts that to not belong in a TOC const int Layout::NOT_IN_TOC = -1000; diff --git a/src/TextClass.cpp b/src/TextClass.cpp index 00cbf09414..f3fa29263d 100644 --- a/src/TextClass.cpp +++ b/src/TextClass.cpp @@ -50,8 +50,6 @@ using support::rtrim; using support::subst; using support::addName; -extern FontInfo lyxRead(Lexer &, FontInfo const & fi = sane_font); - namespace { diff --git a/src/tex2lyx/Font.h b/src/tex2lyx/Font.h index 408754aafa..b77ead7383 100644 --- a/src/tex2lyx/Font.h +++ b/src/tex2lyx/Font.h @@ -47,7 +47,7 @@ public: }; /// Read a font specification from Lexer. Used for layout files. -FontInfo lyxRead(Lexer &, FontInfo const & fi); +FontInfo lyxRead(Lexer &, FontInfo const & fi = sane_font); } // namespace lyx