From f75ab6d2c11e8a8e18191b087564aedebbeb96c5 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:33 +0200 Subject: Imported Upstream version 1.0.3 --- RichString.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'RichString.h') diff --git a/RichString.h b/RichString.h index 1b4d244..a9cb3f6 100644 --- a/RichString.h +++ b/RichString.h @@ -19,6 +19,8 @@ in the source distribution for its full text. #include #elif HAVE_NCURSES_NCURSES_H #include +#elif HAVE_NCURSES_CURSES_H +#include #elif HAVE_NCURSES_H #include #elif HAVE_CURSES_H @@ -61,16 +63,12 @@ typedef struct RichString_ { #ifdef HAVE_LIBNCURSESW -extern void RichString_appendn(RichString* this, int attrs, const char* data_c, int len); - extern void RichString_setAttrn(RichString* this, int attrs, int start, int finish); int RichString_findChar(RichString* this, char c, int start); #else -extern void RichString_appendn(RichString* this, int attrs, const char* data_c, int len); - void RichString_setAttrn(RichString* this, int attrs, int start, int finish); int RichString_findChar(RichString* this, char c, int start); @@ -81,7 +79,9 @@ void RichString_prune(RichString* this); void RichString_setAttr(RichString* this, int attrs); -extern void RichString_append(RichString* this, int attrs, const char* data); +void RichString_append(RichString* this, int attrs, const char* data); + +void RichString_appendn(RichString* this, int attrs, const char* data, int len); void RichString_write(RichString* this, int attrs, const char* data); -- cgit v1.2.3