Changeset e9c6fc8 for fmtext.c


Ignore:
Timestamp:
Dec 10, 2009, 1:38:09 PM (14 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
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)
Message:
Replace /* noproto */ comments with static.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fmtext.c

    r1ee5c79 re9c6fc8  
    2626}
    2727
    28 void _owl_fmtext_realloc(owl_fmtext *f, int newlen) /*noproto*/
     28static void _owl_fmtext_realloc(owl_fmtext *f, int newlen)
    2929{
    3030    if(newlen + 1 > f->bufflen) {
     
    144144
    145145/* Internal function. Parse attrbute character. */
    146 void _owl_fmtext_update_attributes(gunichar c, char *attr, short *fgcolor, short *bgcolor) /*noproto*/
     146static void _owl_fmtext_update_attributes(gunichar c, char *attr, short *fgcolor, short *bgcolor)
    147147{
    148148  if ((c & OWL_FMTEXT_UC_ATTR) == OWL_FMTEXT_UC_ATTR) {
     
    164164
    165165/* 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*/
     166static void _owl_fmtext_scan_attributes(const owl_fmtext *f, int start, char *attr, short *fgcolor, short *bgcolor)
    167167{
    168168  const char *p;
     
    178178 * bytes.
    179179 */
    180 void _owl_fmtext_append_fmtext(owl_fmtext *f, const owl_fmtext *in, int start, int stop) /*noproto*/
     180static void _owl_fmtext_append_fmtext(owl_fmtext *f, const owl_fmtext *in, int start, int stop)
    181181{
    182182  char attrbuff[6];
     
    241241}
    242242
    243 void _owl_fmtext_wattrset(WINDOW *w, int attrs) /*noproto*/
     243static void _owl_fmtext_wattrset(WINDOW *w, int attrs)
    244244{
    245245  wattrset(w, A_NORMAL);
     
    249249}
    250250
    251 void _owl_fmtext_update_colorpair(short fg, short bg, short *pair) /*noproto*/
     251static void _owl_fmtext_update_colorpair(short fg, short bg, short *pair)
    252252{
    253253  if (owl_global_get_hascolors(&g)) {
     
    256256}
    257257
    258 void _owl_fmtext_wcolor_set(WINDOW *w, short pair) /*noproto*/
     258static void _owl_fmtext_wcolor_set(WINDOW *w, short pair)
    259259{
    260260  if (owl_global_get_hascolors(&g)) {
     
    267267 * must already be initiatlized with curses
    268268 */
    269 void _owl_fmtext_curs_waddstr(const owl_fmtext *f, WINDOW *w, int do_search) /*noproto*/
     269static void _owl_fmtext_curs_waddstr(const owl_fmtext *f, WINDOW *w, int do_search)
    270270{
    271271  /* char *tmpbuff; */
Note: See TracChangeset for help on using the changeset viewer.