aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2009-03-11 07:08:15 +0000
committerChristopher Li <sparse@chrisli.org>2009-07-18 05:30:09 +0000
commit8de386390c2028ccaea4ac7e39aa915b6ec6bf94 (patch)
treed6bb1a0570875c5ac136b2a59b43e48262e38ad3 /bitmap.h
parentFix __label__ handling (diff)
downloadsparse-8de386390c2028ccaea4ac7e39aa915b6ec6bf94.tar.gz
sparse-8de386390c2028ccaea4ac7e39aa915b6ec6bf94.tar.bz2
sparse-8de386390c2028ccaea4ac7e39aa915b6ec6bf94.zip
Simplify get_number_value() and ctype_integer()
There's no point whatsoever in constructing modifiers for chosen type when decoding integer constant only to have them picked apart by ctype_integer(). Seeing that the former is the only caller of the latter these days, we can bloody well just pass the rank and signedness explicitly and save a lot of efforts. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Christopher Li <chrisl@hera.kernel.org>
Diffstat (limited to 'bitmap.h')
0 files changed, 0 insertions, 0 deletions