buf_size: export get_real_array_size()
commit31ebfd345ecfa30e087761b2c39bf73e6c055a08
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Mar 2013 10:33:19 +0000 (6 13:33 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Mar 2013 10:33:19 +0000 (6 13:33 +0300)
treee0531254ab2d7923407b58b063ffcc54db581b00
parent0dca20e5881ba0d04529672d4bfbf3fb2f1d4632
buf_size: export get_real_array_size()

Probably this function should be renamed.  It gives you a declared size
of the array as opposed to the size of a dynamically allocated array.

I use this in one of my checks which is not ready for pushing yet.

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