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{
|
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{
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue