Get rid of some unused-function compiler warnings

This commit is contained in:
Maarten Bosmans 2011-03-02 12:41:23 +01:00 committed by Colin Guthrie
parent 3f6eb652cb
commit 53695b83dc
5 changed files with 11 additions and 5 deletions

View file

@ -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];