From e5dc9d539523e4efa596ec74e5ac471c188b1f26 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sun, 20 Sep 2009 18:14:37 -0700 Subject: libunix.cc: remove textattr() from USE_TILE builds USE_TILE builds instead pay attention to the textattr macro. Leaving this function here causes a duplicate function declaration in such builds. Signed-off-by: Steven Noonan --- crawl-ref/source/libunix.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc index 7006a6d2fb..d2ac1c157a 100644 --- a/crawl-ref/source/libunix.cc +++ b/crawl-ref/source/libunix.cc @@ -892,10 +892,12 @@ inline unsigned get_brand(int col) : CHATTR_NORMAL; } +#ifndef USE_TILE void textattr(int col) { textcolor(col); } +#endif static int curs_fg_attr(int col) { -- cgit v1.2.3-54-g00ecf