Changeset 5360:3dd9d1fd1b0e in roaraudio for include


Ignore:
Timestamp:
12/16/11 19:03:13 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added const keywords, removed an uneeded cast to non-const

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/ctl.h

    r5357 r5360  
    8484 
    8585int    roar_str2proto (const char * proto) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_PURE; 
    86 char * roar_proto2str (const int    proto) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_PURE; 
     86const char * roar_proto2str (const int    proto) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_PURE; 
    8787 
    8888int    roar_str2byteorder (const char * byteorder) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_PURE; 
    89 char * roar_byteorder2str (const int    byteorder) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_PURE; 
     89const char * roar_byteorder2str (const int    byteorder) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_PURE; 
    9090 
    9191int    roar_str2ot        (const char * ot) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_PURE; 
Note: See TracChangeset for help on using the changeset viewer.