- Timestamp:
- Dec 10, 2009, 1:38:09 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 438009c
- Parents:
- c0ddaea
- git-author:
- Anders Kaseorg <andersk@mit.edu> (11/04/09 18:20:05)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (12/10/09 13:38:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fmtext.c
r1ee5c79 re9c6fc8 26 26 } 27 27 28 void _owl_fmtext_realloc(owl_fmtext *f, int newlen) /*noproto*/ 28 static void _owl_fmtext_realloc(owl_fmtext *f, int newlen) 29 29 { 30 30 if(newlen + 1 > f->bufflen) { … … 144 144 145 145 /* Internal function. Parse attrbute character. */ 146 void _owl_fmtext_update_attributes(gunichar c, char *attr, short *fgcolor, short *bgcolor) /*noproto*/ 146 static void _owl_fmtext_update_attributes(gunichar c, char *attr, short *fgcolor, short *bgcolor) 147 147 { 148 148 if ((c & OWL_FMTEXT_UC_ATTR) == OWL_FMTEXT_UC_ATTR) { … … 164 164 165 165 /* Internal function. Scan for attribute characters. */ 166 void _owl_fmtext_scan_attributes(const owl_fmtext *f, int start, char *attr, short *fgcolor, short *bgcolor) /*noproto*/ 166 static void _owl_fmtext_scan_attributes(const owl_fmtext *f, int start, char *attr, short *fgcolor, short *bgcolor) 167 167 { 168 168 const char *p; … … 178 178 * bytes. 179 179 */ 180 void _owl_fmtext_append_fmtext(owl_fmtext *f, const owl_fmtext *in, int start, int stop) /*noproto*/ 180 static void _owl_fmtext_append_fmtext(owl_fmtext *f, const owl_fmtext *in, int start, int stop) 181 181 { 182 182 char attrbuff[6]; … … 241 241 } 242 242 243 void _owl_fmtext_wattrset(WINDOW *w, int attrs) /*noproto*/ 243 static void _owl_fmtext_wattrset(WINDOW *w, int attrs) 244 244 { 245 245 wattrset(w, A_NORMAL); … … 249 249 } 250 250 251 void _owl_fmtext_update_colorpair(short fg, short bg, short *pair) /*noproto*/ 251 static void _owl_fmtext_update_colorpair(short fg, short bg, short *pair) 252 252 { 253 253 if (owl_global_get_hascolors(&g)) { … … 256 256 } 257 257 258 void _owl_fmtext_wcolor_set(WINDOW *w, short pair) /*noproto*/ 258 static void _owl_fmtext_wcolor_set(WINDOW *w, short pair) 259 259 { 260 260 if (owl_global_get_hascolors(&g)) { … … 267 267 * must already be initiatlized with curses 268 268 */ 269 void _owl_fmtext_curs_waddstr(const owl_fmtext *f, WINDOW *w, int do_search) /*noproto*/ 269 static void _owl_fmtext_curs_waddstr(const owl_fmtext *f, WINDOW *w, int do_search) 270 270 { 271 271 /* char *tmpbuff; */
Note: See TracChangeset
for help on using the changeset viewer.