Changeset 4296:16e3f8f5983e in roaraudio for libroar/auth.c


Ignore:
Timestamp:
09/01/10 15:48:19 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added a lot const keywords

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/auth.c

    r3740 r4296  
    198198static struct { 
    199199 int    type; 
    200  char * name; 
     200 const char * name; 
    201201} _g_authts[] = { 
    202202// grep ^'#define ROAR_AUTH_T_' auth.h | while read d t d; do n=$(cut -d_ -f4 <<<$t | tr A-Z a-z); printf ' {%-28s %-10s},\n' $t, \"$n\"; done 
     
    216216}; 
    217217 
    218 int    roar_str2autht(char * str) { 
     218int    roar_str2autht(const char * str) { 
    219219 int i; 
    220220 
     
    226226} 
    227227 
    228 char * roar_autht2str(int auth) { 
     228const char * roar_autht2str(const int auth) { 
    229229 int i; 
    230230 
Note: See TracChangeset for help on using the changeset viewer.