commit | 001f0a436e9fe0353dccd98ee34b91095d9ed1a1 | [log] [tgz] |
---|---|---|
author | Rom Lemarchand <romlem@google.com> | Thu Jan 31 12:41:03 2013 -0800 |
committer | Rom Lemarchand <romlem@google.com> | Fri Feb 08 09:47:01 2013 -0800 |
tree | fb83eaef4796c9a2ce9ec3a93d999b8b6bea3eb5 | |
parent | 838ef6491794900731760aecc1d4a10bb2fdd2ec [diff] [blame] |
Replace system_nosh call with android_fork_execvp Replace the system_nosh call with the android_fork_execvp from liblogwrap. Change-Id: Idfbc6bcf0bef16d4ee90d6af6bd4b07bc79913bb
diff --git a/NetdConstants.h b/NetdConstants.h index ecb2ac2..704ee96 100644 --- a/NetdConstants.h +++ b/NetdConstants.h
@@ -34,4 +34,6 @@ int execIptables(IptablesTarget target, ...); int execIptablesSilently(IptablesTarget target, ...); +#define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) + #endif