comparison: split range_comparison_to_param() into two functions
commite06279fcfcbaca36219ff79a2912dc79d13c2916
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 13 Jun 2013 06:23:06 +0000 (13 09:23 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 13 Jun 2013 06:23:06 +0000 (13 09:23 +0300)
tree9235b92ad2cab3b5b31016fdfa1feb91e409dc27
parentbd6313bdc48d021c2a8b3dc7d6d3c62fe0cdd28d
comparison: split range_comparison_to_param() into two functions

This function is a bit nasty, it should only return ==p0 or <p1 instead of
the full comparison.  The formatting should be done somewhere else.  I have
separated it into two functions and eventually I will delete one.

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