mirror of https://github.com/xzeldon/htop.git
Merge identical declarations
This commit is contained in:
parent
49bb1b57f8
commit
cdd3913647
10
RichString.h
10
RichString.h
|
@ -57,20 +57,10 @@ typedef struct RichString_ {
|
||||||
CharType chstr[RICHSTRING_MAXLEN+1];
|
CharType chstr[RICHSTRING_MAXLEN+1];
|
||||||
} RichString;
|
} RichString;
|
||||||
|
|
||||||
#ifdef HAVE_LIBNCURSESW
|
|
||||||
|
|
||||||
void RichString_setAttrn(RichString* this, int attrs, int start, int finish);
|
void RichString_setAttrn(RichString* this, int attrs, int start, int finish);
|
||||||
|
|
||||||
int RichString_findChar(RichString* this, char c, int start);
|
int RichString_findChar(RichString* this, char c, int start);
|
||||||
|
|
||||||
#else /* HAVE_LIBNCURSESW */
|
|
||||||
|
|
||||||
void RichString_setAttrn(RichString* this, int attrs, int start, int finish);
|
|
||||||
|
|
||||||
int RichString_findChar(RichString* this, char c, int start);
|
|
||||||
|
|
||||||
#endif /* HAVE_LIBNCURSESW */
|
|
||||||
|
|
||||||
void RichString_prune(RichString* this);
|
void RichString_prune(RichString* this);
|
||||||
|
|
||||||
void RichString_setAttr(RichString* this, int attrs);
|
void RichString_setAttr(RichString* this, int attrs);
|
||||||
|
|
Loading…
Reference in New Issue