]> ruderich.org/simon Gitweb - nsscash/nsscash.git/commitdiff
nss: file.h: re-order struct file members
authorSimon Ruderich <simon@ruderich.org>
Mon, 10 Jun 2019 20:27:48 +0000 (22:27 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 10 Jun 2019 20:27:48 +0000 (22:27 +0200)
nss/file.h

index 539d219f6b8b5c17d856600c32a6cbda0674b1c2..9560bc3379182edbcabd94ce14e7756b622de4d6 100644 (file)
@@ -54,9 +54,9 @@ struct header {
 struct file {
     int fd;
     size_t size;
-    uint64_t next_index; // used by getpwent (pw.c)
 
     const struct header *header;
+    uint64_t next_index; // used by getpwent (pw.c)
 };
 
 bool map_file(const char *path, struct file *f) __attribute__((visibility("hidden")));