don't declare if already done in a header

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21772 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2007-11-25 17:57:08 +00:00
parent 3f8ea42032
commit ff78ddc4fc
2 changed files with 4 additions and 0 deletions

View File

@ -27,7 +27,9 @@ 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;

View File

@ -50,7 +50,9 @@ using support::rtrim;
using support::subst;
using support::addName;
#if !defined(TEX2LYX_FONT_H) && !defined(FONT_H)
extern FontInfo lyxRead(Lexer &, FontInfo const & fi = sane_font);
#endif
namespace {