libsec: get rid of dummy data[1] in Bytes and Ints types (thanks pr)

This commit is contained in:
cinap_lenrek 2017-12-29 20:04:42 +01:00
parent ce2211b08c
commit e3cad82680
2 changed files with 3 additions and 3 deletions

View file

@ -26,12 +26,12 @@ enum {
typedef struct Bytes{
int len;
uchar data[1]; // [len]
uchar data[];
} Bytes;
typedef struct Ints{
int len;
int data[1]; // [len]
int data[];
} Ints;
typedef struct Algs{

View file

@ -53,7 +53,7 @@ typedef struct Elist Elist;
struct Bytes {
int len;
uchar data[1];
uchar data[];
};
struct Ints {