Changeset e9c6fc8


Ignore:
Timestamp:
Dec 10, 2009, 1:38:09 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, 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>
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • aim.c

    r1fdca1b re9c6fc8  
    192192}
    193193
    194 void owl_aim_unset_ignorelogin(owl_timer *t, void *data) {      /* noproto */
     194static void owl_aim_unset_ignorelogin(owl_timer *t, void *data)
     195{
    195196    owl_global_unset_ignore_aimlogin(&g);
    196197}
     
    257258#define AIM_CHARSET_UNICODE            0x0002
    258259
    259 int owl_aim_do_send(const char *to, const char *msg, int flags) /* noproto */
     260static int owl_aim_do_send(const char *to, const char *msg, int flags)
    260261{
    261262  int ret;
  • editwin.c

    re8074ed re9c6fc8  
    786786}
    787787
    788 int owl_editwin_at_beginning_of_line(owl_editwin *e) /*noproto*/
     788static int owl_editwin_at_beginning_of_line(owl_editwin *e)
    789789{
    790790  oe_excursion x;
  • 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; */
  • list.c

    r0f15f12 re9c6fc8  
    2020
    2121
    22 void owl_list_grow(owl_list *l, int n) /*noproto*/
     22static void owl_list_grow(owl_list *l, int n)
    2323{
    2424  void *ptr;
  • message.c

    rba88ae7 re9c6fc8  
    2323}
    2424
    25 owl_fmtext_cache *owl_message_next_fmtext(void) /*noproto*/
     25static owl_fmtext_cache *owl_message_next_fmtext(void)
    2626{
    2727    owl_fmtext_cache * f = fmtext_cache_next;
  • obarray.c

    r8bce750 re9c6fc8  
    1414 * the index it should be inserted at.
    1515 */
    16 int owl_obarray_lookup(const owl_obarray *oa, const char * key, const char ** val) /*noproto*/
     16static int owl_obarray_lookup(const owl_obarray *oa, const char *key, const char **val)
    1717{
    1818  int first, last, mid;
  • tester.c

    r4cc02605 re9c6fc8  
    195195}
    196196
    197 int owl_filter_test_string(const char * filt, const owl_message *m, int shouldmatch) /* noproto */ {
     197static int owl_filter_test_string(const char *filt, const owl_message *m, int shouldmatch)
     198{
    198199  owl_filter *f;
    199200  int ok;
  • zephyr.c

    r18fdd5f9 re9c6fc8  
    13071307#define OWL_MAX_ZEPHYRGRAMS_TO_PROCESS 20
    13081308
    1309 int _owl_zephyr_process_events(void) /* noproto */
     1309static int _owl_zephyr_process_events(void)
    13101310{
    13111311  int zpendcount=0;
Note: See TracChangeset for help on using the changeset viewer.