summaryrefslogtreecommitdiff
path: root/net-analyzer/hunt/files/hunt-1.5-log2.patch
blob: fc36eaea1f3b17ab41febf655056bb4b169c4aea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/hunt.h
+++ b/hunt.h
@@ -401,7 +401,7 @@
 void set_tty_color_bg(enum TTY_COLOR fg, enum TTY_COLOR bg);
 
 int is_power2(unsigned int i);
-int log2(unsigned int i);
+int _hunt_log2(unsigned int i);
 int count_mask(unsigned int mask);
 
 
--- a/util.c
+++ b/util.c
@@ -70,7 +70,7 @@
 	return i ? 0 : 1;
 }
 
-int log2(unsigned int i)
+int _hunt_log2(unsigned int i)
 {
 	int l = 0;