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{ typedef struct Bytes{
int len; int len;
uchar data[1]; // [len] uchar data[];
} Bytes; } Bytes;
typedef struct Ints{ typedef struct Ints{
int len; int len;
int data[1]; // [len] int data[];
} Ints; } Ints;
typedef struct Algs{ typedef struct Algs{

View file

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