#include <pthread.h>
-#include "cash.h"
#include "cash_nss.h"
#include "file.h"
#include "search.h"
+// NOTE: This file is very similar to gr.c, keep in sync!
+
struct passwd_entry {
uint64_t uid;
uint64_t gid;
* concatenated, with their trailing NUL. The off_* variables point to
* beginning of each string.
*/
- char data[];
+ const char data[];
} __attribute__((packed));
static bool entry_to_passwd(const struct passwd_entry *e, struct passwd *p, char *tmp, size_t space) {