mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
make PA_GCC_PACKED and PA_GCC_MALLOC actually work
This commit is contained in:
parent
c0fb91db54
commit
44bca66c59
5 changed files with 10 additions and 10 deletions
|
|
@ -70,10 +70,10 @@ struct userdata {
|
|||
|
||||
#define ENTRY_VERSION 1
|
||||
|
||||
struct entry PA_GCC_PACKED {
|
||||
struct entry {
|
||||
uint8_t version;
|
||||
char profile[PA_NAME_MAX];
|
||||
};
|
||||
} PA_GCC_PACKED ;
|
||||
|
||||
static void save_time_callback(pa_mainloop_api*a, pa_time_event* e, const struct timeval *tv, void *userdata) {
|
||||
struct userdata *u = userdata;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue