libsec: get rid of dummy data[1] in Bytes and Ints types (thanks pr)
This commit is contained in:
parent
ce2211b08c
commit
e3cad82680
2 changed files with 3 additions and 3 deletions
|
@ -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{
|
||||
|
|
|
@ -53,7 +53,7 @@ typedef struct Elist Elist;
|
|||
|
||||
struct Bytes {
|
||||
int len;
|
||||
uchar data[1];
|
||||
uchar data[];
|
||||
};
|
||||
|
||||
struct Ints {
|
||||
|
|
Loading…
Reference in a new issue