Changeset 65b2173


Ignore:
Timestamp:
Aug 15, 2009, 7:08:18 PM (15 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
fa4562c
Parents:
c529ac8
git-author:
Anders Kaseorg <andersk@mit.edu> (08/04/09 03:03:53)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:18)
Message:
Split up declarations for adding const qualifiers for char * and void *.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • cmd.c

    rc529ac8 r65b2173  
    170170  static int alias_recurse_depth = 0;
    171171  int ival=0;
    172   char *cmdbuffargs, *newcmd, *rv=NULL;
     172  char *cmdbuffargs;
     173  char *newcmd, *rv=NULL;
    173174
    174175  if (argc < 1) return(NULL);
     
    255256
    256257void owl_cmd_get_help(owl_cmddict *d, char *name, owl_fmtext *fm) {
    257   char *indent, *s;
     258  char *s;
     259  char *indent;
    258260  owl_cmd *cmd;
    259261
  • commands.c

    rbc9020f r65b2173  
    18861886char *owl_command_aimwrite(int argc, char **argv, char *buff)
    18871887{
    1888   char *newbuff, *recip, **myargv;
     1888  char *newbuff, *recip;
     1889  char **myargv;
    18891890  int i, j, myargc;
    18901891  owl_message *m;
  • editwin.c

    r0509efc r65b2173  
    694694void owl_editwin_transpose_chars(owl_editwin *e)
    695695{
    696   char *middle, *end, *start, *tmp;
     696  char *middle, *end, *start;
     697  char *tmp;
    697698
    698699  if (e->bufflen == 0) return;
  • filterelement.c

    r41c9a96 r65b2173  
    7979static int owl_filterelement_match_perl(owl_filterelement *fe, owl_message *m)
    8080{
    81   char *subname, *perlrv;
     81  char *subname;
     82  char *perlrv;
    8283  int   tf=0;
    8384
  • fmtext.c

    r41c9a96 r65b2173  
    568568{
    569569  int stacksize, curattrs, curcolor;
    570   char *ptr, *txtptr, *buff, *tmpptr;
     570  char *ptr, *txtptr, *tmpptr;
     571  char *buff;
    571572  int attrstack[32], chrstack[32], colorstack[32];
    572573
  • functions.c

    r712caac r65b2173  
    9393
    9494char *owl_function_style_describe(char *name) {
    95   char *desc, *s;
     95  char *desc;
     96  char *s;
    9697  owl_style *style;
    9798  style = owl_global_get_style_by_name(&g, name);
     
    500501{
    501502  int ret;
    502   char *to, *format_msg;
     503  char *to;
     504  char *format_msg;
    503505  owl_message *m;
    504506
     
    882884{
    883885  int ret, ret2;
    884   char *foo, *path;
     886  char *foo;
     887  char *path;
    885888
    886889  if (file==NULL) {
     
    20162019   * else display in a popup
    20172020   */
    2018   char *newbuff, *redirect = " 2>&1 < /dev/null";
     2021  char *redirect = " 2>&1 < /dev/null";
     2022  char *newbuff;
    20192023  char *out, buff2[1024];
    20202024  int size;
     
    26492653  owl_view *v;
    26502654  owl_message *m;
    2651   char *cmd, *cmdprefix, *mclass, *minst;
     2655  char *cmdprefix, *mclass, *minst;
     2656  char *cmd;
    26522657 
    26532658  v=owl_global_get_current_view(&g);
     
    30783083  int x;
    30793084  owl_list anyone;
    3080   char *tmp, *user;
     3085  char *user;
     3086  char *tmp;
    30813087  ZLocations_t location[200];
    30823088  int numlocs, ret;
  • global.c

    r41c9a96 r65b2173  
    759759void owl_global_set_aimloggedin(owl_global *g, char *screenname)
    760760{
    761   char *sn_escaped, *quote;
     761  char *sn_escaped;
     762  char *quote;
    762763  g->aim_loggedin=1;
    763764  if (g->aim_screenname) owl_free(g->aim_screenname);
  • logging.c

    rd43edd2 r65b2173  
    230230{
    231231  char filename[MAXPATHLEN], allfilename[MAXPATHLEN], *logpath;
    232   char *frombuff=NULL, *from=NULL;
     232  char *from=NULL;
     233  char *frombuff=NULL;
    233234  int len, ch, i, personal;
    234235
  • message.c

    r41c9a96 r65b2173  
    568568char *owl_message_get_cc(owl_message *m)
    569569{
    570   char *cur, *out, *end;
     570  char *cur;
     571  char *out, *end;
    571572
    572573  cur = owl_message_get_body(m);
     
    584585char *owl_message_get_cc_without_recipient(owl_message *m)
    585586{
    586   char *cc, *out, *end, *user, *shortuser, *recip;
     587  char *cc, *out, *end, *shortuser, *recip;
     588  char *user;
    587589
    588590  cc = owl_message_get_cc(m);
     
    735737{
    736738  struct hostent *hent;
    737   char *ptr, *tmp, *tmp2;
     739  char *ptr;
     740  char *tmp, *tmp2;
    738741  int len;
    739742
     
    851854void owl_message_create_pseudo_zlogin(owl_message *m, int direction, char *user, char *host, char *time, char *tty)
    852855{
    853   char *longuser, *ptr;
     856  char *longuser;
     857  char *ptr;
    854858
    855859#ifdef HAVE_LIBZEPHYR
  • owl.c

    rc529ac8 r65b2173  
    4444  int newmsgs, nexttimediff;
    4545  struct sigaction sigact;
    46   char *configfile, *tty, *perlout, *perlerr, **argvsave;
     46  char *configfile, *tty, **argvsave;
     47  char *perlout, *perlerr;
    4748  char *confdir;
    4849  owl_filter *f;
  • perlconfig.c

    r712caac r65b2173  
    381381  STRLEN len;
    382382  SV *response;
    383   char *out, *preout;
     383  char *preout;
     384  char *out;
    384385
    385386  if (!owl_global_have_config(&g)) return NULL;
  • style.c

    rd43edd2 r65b2173  
    4141void owl_style_get_formattext(owl_style *s, owl_fmtext *fm, owl_message *m)
    4242{
    43   char *body, *indent;
     43  char *body;
     44  char *indent;
    4445  int curlen;
    4546
  • text.c

    r64c9165 r65b2173  
    4848char *owl_text_htmlstrip(char *in)
    4949{
    50   char *ptr1, *end, *ptr2, *ptr3, *out, *out2;
     50  char *ptr1, *end, *ptr2, *ptr3;
     51  char *out, *out2;
    5152
    5253  out=owl_malloc(strlen(in)+30);
  • util.c

    r4d86e06 r65b2173  
    456456char *owl_util_get_default_tty()
    457457{
    458   char *out, *tmp;
     458  char *tmp;
     459  char *out;
    459460
    460461  if (getenv("DISPLAY")) {
  • zcrypt.c

    r0fa0745 r65b2173  
    7070 */
    7171int owl_zcrypt_decrypt(char *out, char *in, char *class, char *instance) {
    72   char *fname, keystring[MAX_KEY], *inptr, *endptr;
     72  char *inptr, *endptr;
     73  char *fname, keystring[MAX_KEY];
    7374  FILE *fkey;
    7475  des_cblock key;
  • zwrite.c

    rc529ac8 r65b2173  
    88{
    99  int argc, badargs, myargc, i, len;
    10   char **argv, **myargv;
     10  char **argv;
     11  char **myargv;
    1112  char *msg = NULL;
    1213
     
    151152void owl_zwrite_populate_zsig(owl_zwrite *z)
    152153{
    153   char *zsigproc, *zsigowlvar, *zsigzvar, *ptr;
     154  char *zsigproc, *zsigowlvar, *zsigzvar;
     155  char *ptr;
    154156  struct passwd *pw;
    155157
Note: See TracChangeset for help on using the changeset viewer.