aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/popcount.h
blob: a7c779150cf9a897b712aeb5dba0f0f50071a127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* popcount.h
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1998 Gerald Combs
 *
 * SPDX-License-Identifier: GPL-2.0+
 */

#ifndef __POPCOUNT_H__
#define __POPCOUNT_H__

#include "ws_symbol_export.h"

WS_DLL_PUBLIC int popcount(unsigned int mask);

#endif /* __POPCOUNT_H__ */