Less verbose initializer syntax

This commit is contained in:
Eric Fischer
2017-11-07 15:25:54 -08:00
parent ba62ab8596
commit 4f974b3dc6
5 changed files with 19 additions and 19 deletions
+5 -5
View File
@@ -2,11 +2,11 @@
#define MEMFILE_HPP
struct memfile {
int fd;
char *map;
long long len;
long long off;
unsigned long tree;
int fd = 0;
char *map = NULL;
long long len = 0;
long long off = 0;
unsigned long tree = 0;
};
struct memfile *memfile_open(int fd);