[PATCH] libnuma: prototype for numa_bitmask_weight()

Cliff Wickman <[email protected]> Thu, 07 Feb 2013 15:51:32 -0600
Newsgroups org.kernel.vger.linux-numa
Message-ID <[email protected]>
From: Cliff Wickman <[email protected]>

Just a minor tweak. An omission pointed out to me.
The function numa_bitmask_weight() is missing a prototype in numa.h

Signed-off-by: Cliff Wickman <[email protected]>
---
 numa.h |    1 +
 1 file changed, 1 insertion(+)

Index: numactl-test/numa.h
===================================================================
--- numactl-test.orig/numa.h
+++ numactl-test/numa.h
@@ -53,6 +53,7 @@ struct bitmask *numa_bitmask_clearall(st
 struct bitmask *numa_bitmask_setbit(struct bitmask *, unsigned int);
 struct bitmask *numa_bitmask_clearbit(struct bitmask *, unsigned int);
 unsigned int numa_bitmask_nbytes(struct bitmask *);
+unsigned int numa_bitmask_weight(const struct bitmask *);
 struct bitmask *numa_bitmask_alloc(unsigned int);
 void numa_bitmask_free(struct bitmask *);
 int numa_bitmask_equal(const struct bitmask *, const struct bitmask *);