Refactor of use of fstab in advance of fix.
Test: Ensure device still boots.
Bug: 65737446
Change-Id: Ie466db9f5d8c77656cc525c0d49fe6a3cce154f1
diff --git a/VoldUtil.h b/VoldUtil.h
index 5738382..fd66672 100644
--- a/VoldUtil.h
+++ b/VoldUtil.h
@@ -17,12 +17,13 @@
#ifndef _VOLDUTIL_H
#define _VOLDUTIL_H
+#include <fstab/fstab.h>
#include <sys/cdefs.h>
+extern struct fstab *fstab_default;
+
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a)))
-__BEGIN_DECLS
void get_blkdev_size(int fd, unsigned long* nr_sec);
-__END_DECLS
#endif