From 83a507959e0478ec35e24b89729bb3e5274c77d8 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Fri, 26 Jun 2009 02:53:46 +0000 Subject: 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 --- converter/other/xwdtopnm.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'converter/other/xwdtopnm.c') 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) { -- cgit 1.4.1