Apply vodz' last_patch52
[oweals/busybox.git] / libbb / inode_hash.c
index 52c54cdc17422e9f91153e57e31013aa97dcff6e..36484e6ae599510b14d39c59ac544e8cf66fc52e 100644 (file)
 #define HASH_SIZE      311             /* Should be prime */
 #define hash_inode(i)  ((i) % HASH_SIZE)
 
+typedef struct ino_dev_hash_bucket_struct {
+  struct ino_dev_hash_bucket_struct *next;
+  ino_t ino;
+  dev_t dev;
+  char name[1];
+} ino_dev_hashtable_bucket_t;
+
 static ino_dev_hashtable_bucket_t *ino_dev_hashtable[HASH_SIZE];
 
 /*