Changeset e19eb97 for buddy.c


Ignore:
Timestamp:
Aug 15, 2009, 7:08:18 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:
1077891a
Parents:
fa4562c
git-author:
Anders Kaseorg <andersk@mit.edu> (08/04/09 02:37:51)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:18)
Message:
Add const qualifiers for char * and void *.

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

Legend:

Unmodified
Added
Removed
  • buddy.c

    rd43edd2 re19eb97  
    11#include "owl.h"
    22
    3 void owl_buddy_create(owl_buddy *b, int proto, char *name)
     3void owl_buddy_create(owl_buddy *b, int proto, const char *name)
    44{
    55  b->proto=proto;
     
    88}
    99
    10 char *owl_buddy_get_name(owl_buddy *b)
     10const char *owl_buddy_get_name(owl_buddy *b)
    1111{
    1212  if (b->name) return(b->name);
Note: See TracChangeset for help on using the changeset viewer.