diff options
Diffstat (limited to 'gcc/analyzer/sm-signal.cc')
-rw-r--r-- | gcc/analyzer/sm-signal.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/analyzer/sm-signal.cc b/gcc/analyzer/sm-signal.cc index 77044e10805..9b0213e89b7 100644 --- a/gcc/analyzer/sm-signal.cc +++ b/gcc/analyzer/sm-signal.cc @@ -309,8 +309,7 @@ get_async_signal_unsafe_fns () "vsnprintf", "vsprintf" }; - const size_t count - = sizeof(async_signal_unsafe_fns) / sizeof (async_signal_unsafe_fns[0]); + const size_t count = ARRAY_SIZE (async_signal_unsafe_fns); function_set fs (async_signal_unsafe_fns, count); return fs; } |