Changeset c08c70a for functions.c


Ignore:
Timestamp:
Aug 15, 2009, 7:08:19 PM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
1fdab04
Parents:
25fb825
git-author:
Anders Kaseorg <andersk@mit.edu> (08/04/09 00:44:38)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:19)
Message:
Add const qualifiers for owl_message *.

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

Legend:

Unmodified
Added
Removed
  • functions.c

    r0a0fb74 rc08c70a  
    595595  owl_view *v;
    596596  owl_filter *f = NULL;
    597   owl_message *m;
     597  const owl_message *m;
    598598
    599599  v=owl_global_get_current_view(&g);
     
    648648  owl_view *v;
    649649  owl_filter *f = NULL;
    650   owl_message *m;
     650  const owl_message *m;
    651651
    652652  v=owl_global_get_current_view(&g);
     
    774774{
    775775  int curmsg;
    776   owl_message *m;
     776  const owl_message *m;
    777777  owl_messagelist *ml;
    778778  owl_view *v;
     
    14111411void owl_function_info()
    14121412{
    1413   owl_message *m;
     1413  const owl_message *m;
    14141414  owl_fmtext fm, attrfm;
    14151415  owl_view *v;
     
    15471547{
    15481548  owl_view *v;
    1549   owl_message *m;
     1549  const owl_message *m;
    15501550  owl_style *s;
    15511551  owl_fmtext fm;
     
    18861886{
    18871887  char *buff=NULL;
    1888   owl_message *m;
     1888  const owl_message *m;
    18891889  owl_filter *f;
    18901890 
     
    21092109  owl_filter *f;
    21102110  int curid=-1, newpos, curmsg;
    2111   owl_message *curm=NULL;
     2111  const owl_message *curm=NULL;
    21122112
    21132113  v=owl_global_get_current_view(&g);
     
    25802580{
    25812581  owl_view *v;
    2582   owl_message *m;
     2582  const owl_message *m;
    25832583  char *zperson, *filtname=NULL;
    25842584  const char *argv[1];
     
    26522652   * If type=0, uses just class.  If type=1, uses instance as well. */
    26532653  owl_view *v;
    2654   owl_message *m;
     2654  const owl_message *m;
    26552655  const char *cmdprefix, *mclass, *minst;
    26562656  char *cmd;
     
    35673567}
    35683568
    3569 void _owl_function_mark_message(owl_message *m)
     3569void _owl_function_mark_message(const owl_message *m)
    35703570{
    35713571  if (m)
     
    35753575void owl_function_mark_message()
    35763576{
    3577   owl_message *m;
     3577  const owl_message *m;
    35783578  owl_view *v;
    35793579
     
    35953595{
    35963596  int marked_id;
    3597   owl_message *m;
     3597  const owl_message *m;
    35983598  owl_view *v;
    35993599
Note: See TracChangeset for help on using the changeset viewer.