commit | 44b65d047cc39baf30e21bfd8dd438f6bc1f77f5 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Apr 20 14:32:50 2010 -0700 |
committer | Colin Cross <ccross@android.com> | Wed Apr 21 20:59:42 2010 -0700 |
tree | bd964fe87dee9c0a3fdf22073ab245918d2238cb | |
parent | f83d0b9af5cbe4440cc41ceaa8a7806a13c86282 [diff] [blame] |
init: Add ueventd.rc parsing to ueventd Change-Id: Iea53050d6c10e8cabf563e5d80e84eaf78873695
diff --git a/init/util.h b/init/util.h index 5fcd2ec..2e47369 100644 --- a/init/util.h +++ b/init/util.h
@@ -20,6 +20,8 @@ #include <sys/stat.h> #include <sys/types.h> +#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) + static const char *coldboot_done = "/dev/.coldboot_done"; int mtd_name_to_number(const char *name);