Changeset 2b3dd78 in mainline for uspace/srv/audio/hound/hound.c
- Timestamp:
- 2018-01-31T12:02:00Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5595841
- Parents:
- a0a9cc2 (diff), 14d789c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/hound.c
ra0a9cc2 r2b3dd78 37 37 #include <assert.h> 38 38 #include <stdlib.h> 39 #include <str.h> 39 40 40 41 #include "hound.h" … … 413 414 * @return Error code. 414 415 */ 415 errno_t hound_list_sources(hound_t *hound, c onst char ***list, size_t *size)416 errno_t hound_list_sources(hound_t *hound, char ***list, size_t *size) 416 417 { 417 418 assert(hound); … … 427 428 return EOK; 428 429 } 429 c onst char **names = calloc(count, sizeof(char *));430 char **names = calloc(count, sizeof(char *)); 430 431 errno_t ret = names ? EOK : ENOMEM; 431 432 for (unsigned long i = 0; i < count && ret == EOK; ++i) { … … 455 456 * @return Error code. 456 457 */ 457 errno_t hound_list_sinks(hound_t *hound, c onst char ***list, size_t *size)458 errno_t hound_list_sinks(hound_t *hound, char ***list, size_t *size) 458 459 { 459 460 assert(hound); … … 469 470 return EOK; 470 471 } 471 c onst char **names = calloc(count, sizeof(char *));472 char **names = calloc(count, sizeof(char *)); 472 473 errno_t ret = names ? EOK : ENOMEM; 473 474 for (size_t i = 0; i < count && ret == EOK; ++i) {
Note:
See TracChangeset
for help on using the changeset viewer.