buf_size, strlen: separate buf_size and strlen into two files
commite1cfffa498554b3ddd5cda7b1010afd988273118
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 6 Dec 2013 10:46:18 +0000 (6 13:46 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 6 Dec 2013 10:46:18 +0000 (6 13:46 +0300)
treec35bdec2bc2c6bda412ab35ee81adb5431730ca1
parenta80cdc31cf0218ab473aa9d65fa34e88dacd87b0
buf_size, strlen: separate buf_size and strlen into two files

These things are mixed together in an ugly way.  The string length is not
the same thing as the buffer size, so it doesn't make sense to treat them
the same.

This patch just pulls out everything which has to do with strlen_id.  It
doesn't change the logic.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Makefile
smatch.h
smatch_buf_size.c
smatch_strlen.c [new file with mode: 0644]