diff options
| author | Colin Cross <ccross@android.com> | 2010-04-20 14:32:50 -0700 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2010-04-21 20:59:42 -0700 |
| commit | 44b65d047cc39baf30e21bfd8dd438f6bc1f77f5 (patch) | |
| tree | bd964fe87dee9c0a3fdf22073ab245918d2238cb /init/util.h | |
| parent | f83d0b9af5cbe4440cc41ceaa8a7806a13c86282 (diff) | |
| download | system_core-44b65d047cc39baf30e21bfd8dd438f6bc1f77f5.tar.gz system_core-44b65d047cc39baf30e21bfd8dd438f6bc1f77f5.tar.bz2 system_core-44b65d047cc39baf30e21bfd8dd438f6bc1f77f5.zip | |
init: Add ueventd.rc parsing to ueventd
Change-Id: Iea53050d6c10e8cabf563e5d80e84eaf78873695
Diffstat (limited to 'init/util.h')
| -rw-r--r-- | init/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init/util.h b/init/util.h index 5fcd2ec3..2e473698 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); |
