Commit 74bc4880 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix flexible array usage gcc-ism

parent d2deac2c
......@@ -212,7 +212,7 @@ struct sdp_t
struct attribute_t
{
const char *value;
char name[0];
char name[];
};
struct sap_announce_t
......
......@@ -40,7 +40,7 @@ struct block_sys_t
{
block_t self;
size_t i_allocated_buffer;
uint8_t p_allocated_buffer[0];
uint8_t p_allocated_buffer[];
};
#ifndef NDEBUG
......
......@@ -130,7 +130,7 @@ typedef struct
{
int argc;
int enqueue;
char data[0];
char data[];
} vlc_ipc_data_t;
void system_Configure( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] )
......
......@@ -53,7 +53,7 @@ typedef struct sap_session_t
struct sap_session_t *next;
const session_descriptor_t *p_sd;
size_t length;
uint8_t data[0];
uint8_t data[];
} sap_session_t;
/* A SAP announce address. For each of these, we run the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment