mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 09:29:01 +00:00
Applied a patch by Kris Katterjohn which makes 14 functions static
This commit is contained in:
@@ -128,7 +128,7 @@ static inline int MACTableHash(int prefix, int table_capacity) {
|
||||
return prefix % table_capacity;
|
||||
}
|
||||
|
||||
void mac_prefix_init() {
|
||||
static void mac_prefix_init() {
|
||||
static int initialized = 0;
|
||||
if (initialized) return;
|
||||
initialized = 1;
|
||||
|
||||
Reference in New Issue
Block a user