summaryrefslogtreecommitdiff
path: root/xs_set.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-10-07 13:48:53 +0200
committerdefault <nobody@localhost>2022-10-07 13:48:53 +0200
commita4cf695e60e0d4f79638cb1f37f78b524411efcf (patch)
tree3db5747f1f75e67bf5785c18b6753bfa80d6a9fa /xs_set.h
parent17842c2a797a3091e937025e06e17a14e2a1a4e6 (diff)
Backport from xs.
Diffstat (limited to 'xs_set.h')
-rw-r--r--xs_set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs_set.h b/xs_set.h
index c983ce6..7d7a762 100644
--- a/xs_set.h
+++ b/xs_set.h
@@ -8,7 +8,7 @@ typedef struct _xs_set {
int elems; /* number of hash entries */
int used; /* number of used hash entries */
d_char *list; /* list of stored data */
- int hash[0]; /* hashed offsets */
+ int hash[]; /* hashed offsets */
} xs_set;
xs_set *xs_set_new(int elems);