aboutsummaryrefslogtreecommitdiffstats
path: root/main/threadstorage.c
diff options
context:
space:
mode:
authorbbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-11 18:09:35 +0000
committerbbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-11 18:09:35 +0000
commit8e222897e657656b5b9af006b50e51812dbed1bb (patch)
treed6654284a45ddbc17f083bedcf5d1055fd08f634 /main/threadstorage.c
parent802d09a41e12f28f64a4f6be443ecf0db251b28d (diff)
Janitor patch to change uses of sizeof to ARRAY_LEN
(closes issue #13054) Reported by: pabelanger Patches: ARRAY_LEN.patch2 uploaded by pabelanger (license 224) Tested by: seanbright git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130129 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/threadstorage.c')
-rw-r--r--main/threadstorage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/threadstorage.c b/main/threadstorage.c
index ae1719ff8..94ea45d4e 100644
--- a/main/threadstorage.c
+++ b/main/threadstorage.c
@@ -232,7 +232,7 @@ static struct ast_cli_entry cli[] = {
void threadstorage_init(void)
{
- ast_cli_register_multiple(cli, sizeof(cli) / sizeof(cli[0]));
+ ast_cli_register_multiple(cli, ARRAY_LEN(cli));
}
#endif /* !defined(DEBUG_THREADLOCALS) */