buf_size: move get_size_from_strlen() into it's own function
commit9e9c0256f93a5d808829a9aea1f484fc5576b776
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Jun 2012 17:08:25 +0000 (12 20:08 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Jun 2012 17:08:25 +0000 (12 20:08 +0300)
tree186b2c7f96a8c12898fa107741f98c5dfc67500a
parent6819fbe1493c2a5464e7a3cf37567dcf149670c3
buf_size: move get_size_from_strlen() into it's own function

Also add some comments to the new cleaned up get_array_size() function.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_buf_size.c