Changeset 0ee3157 in mainline for uspace/lib/riff/include/riff/rwave.h


Ignore:
Timestamp:
2020-09-18T23:09:04Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
003c413
Parents:
d53af3c8
Message:

Use errno_t for error values in libriff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/riff/include/riff/rwave.h

    rd53af3c8 r0ee3157  
    3737#define RIFF_WAVE_H
    3838
     39#include <errno.h>
    3940#include <types/riff/rwave.h>
    4041
    41 extern int rwave_wopen(const char *, rwave_params_t *params, rwavew_t **);
    42 extern int rwave_write_samples(rwavew_t *, void *, size_t);
    43 extern int rwave_wclose(rwavew_t *);
     42extern errno_t rwave_wopen(const char *, rwave_params_t *params, rwavew_t **);
     43extern errno_t rwave_write_samples(rwavew_t *, void *, size_t);
     44extern errno_t rwave_wclose(rwavew_t *);
    4445
    45 extern int rwave_ropen(const char *, rwave_params_t *params, rwaver_t **);
    46 extern int rwave_read_samples(rwaver_t *, void *, size_t, size_t *);
    47 extern int rwave_rclose(rwaver_t *);
     46extern errno_t rwave_ropen(const char *, rwave_params_t *params, rwaver_t **);
     47extern errno_t rwave_read_samples(rwaver_t *, void *, size_t, size_t *);
     48extern errno_t rwave_rclose(rwaver_t *);
    4849
    4950#endif
Note: See TracChangeset for help on using the changeset viewer.