diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-06-26 02:53:46 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-06-26 02:53:46 +0000 |
commit | 83a507959e0478ec35e24b89729bb3e5274c77d8 (patch) | |
tree | 6978a84fafe5dd838e9fdce8b357188c0692a868 /converter/other/xwdtopnm.c | |
parent | 2bc36257c93fabb40070170b6f93efaa7389853c (diff) | |
download | netpbm-mirror-83a507959e0478ec35e24b89729bb3e5274c77d8.tar.gz netpbm-mirror-83a507959e0478ec35e24b89729bb3e5274c77d8.tar.xz netpbm-mirror-83a507959e0478ec35e24b89729bb3e5274c77d8.zip |
Remove one_bits function - unreferenced since revision 834
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@938 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/xwdtopnm.c')
-rw-r--r-- | converter/other/xwdtopnm.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/converter/other/xwdtopnm.c b/converter/other/xwdtopnm.c index 4bb642e7..2cf1d39b 100644 --- a/converter/other/xwdtopnm.c +++ b/converter/other/xwdtopnm.c @@ -84,23 +84,6 @@ zero_bits(const unsigned long mask) { -static int -one_bits(const unsigned long input) { -/*---------------------------------------------------------------------------- - Return the number of one bits in the binary representation of 'input'. ------------------------------------------------------------------------------*/ - int one_bits; - unsigned long mask; - - one_bits = 0; /* initial value */ - for (mask = 0x00000001; mask != 0x00000000; mask <<= 1) - if (input & mask) one_bits++; - - return(one_bits); -} - - - static void parseCommandLine(int argc, char ** argv, struct cmdlineInfo * const cmdlineP) { |