mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-28 07:00:13 -05:00
use gcc const and pure function attributes wherever applicable
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1835 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
35483eeab7
commit
116ddaaae9
10 changed files with 73 additions and 36 deletions
|
|
@ -56,8 +56,8 @@ void pa_volume_memchunk(
|
|||
const pa_sample_spec *spec,
|
||||
const pa_cvolume *volume);
|
||||
|
||||
size_t pa_frame_align(size_t l, const pa_sample_spec *ss);
|
||||
size_t pa_frame_align(size_t l, const pa_sample_spec *ss) PA_GCC_PURE;
|
||||
|
||||
int pa_frame_aligned(size_t l, const pa_sample_spec *ss);
|
||||
int pa_frame_aligned(size_t l, const pa_sample_spec *ss) PA_GCC_PURE;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue