Changeset 5589:de9dbc2ecc4b in roaraudio for libroar
- Timestamp:
- 07/22/12 13:21:15 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/uuid.c
r5505 r5589 36 36 #include "libroar.h" 37 37 38 int roar_uuid_eq( roar_uuid_t a,roar_uuid_t b) {38 int roar_uuid_eq(const roar_uuid_t a, const roar_uuid_t b) { 39 39 if ( a == NULL || b == NULL ) { 40 40 roar_err_set(ROAR_ERROR_FAULT); … … 42 42 } 43 43 44 if ( memc py(a, b, sizeof(roar_uuid_t)) == 0 )44 if ( memcmp(a, b, sizeof(roar_uuid_t)) == 0 ) 45 45 return 1; 46 46 … … 48 48 } 49 49 50 int roar_uuid2str(char * str, roar_uuid_t uuid, ssize_t len) {50 int roar_uuid2str(char * str, const roar_uuid_t uuid, ssize_t len) { 51 51 if ( str == NULL || uuid == NULL ) { 52 52 roar_err_set(ROAR_ERROR_FAULT);
Note: See TracChangeset
for help on using the changeset viewer.