mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
Get rid of some unused-function compiler warnings
This commit is contained in:
parent
3f6eb652cb
commit
53695b83dc
5 changed files with 11 additions and 5 deletions
|
|
@ -90,10 +90,12 @@ struct shm_marker {
|
|||
|
||||
#define SHM_MARKER_SIZE PA_ALIGN(sizeof(struct shm_marker))
|
||||
|
||||
#ifdef HAVE_SHM_OPEN
|
||||
static char *segment_name(char *fn, size_t l, unsigned id) {
|
||||
pa_snprintf(fn, l, "/pulse-shm-%u", id);
|
||||
return fn;
|
||||
}
|
||||
#endif
|
||||
|
||||
int pa_shm_create_rw(pa_shm *m, size_t size, pa_bool_t shared, mode_t mode) {
|
||||
char fn[32];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue