aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/xnbd/remove-pagesize.patch
blob: 61c91c1454ed6fd98952634de26c923f21f44cc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# HG changeset patch
# User hirofuchi
# Date 1393586706 -32400
# Node ID 6cc644b989ecd4a2cdd7cd3dd2d5c40fd63537d7
# Parent  34a08647f2e40d22960d8cb1de718a4391c15f3b
remove PAGESIZE

diff --git a/xnbd.h b/trunk/xnbd.h
--- a/xnbd.h
+++ b/xnbd.h
@@ -189,7 +189,6 @@
 
 
 extern const unsigned int CBLOCKSIZE;
-extern unsigned int PAGESIZE;
 
 
 
diff --git a/xnbd_common.c b/trunk/xnbd_common.c
--- a/xnbd_common.c
+++ b/xnbd_common.c
@@ -33,7 +33,6 @@
  * 1024 or 8192, which is different from the page size, is also possible, but not well tested.
  **/
 const unsigned int CBLOCKSIZE = 4096;
-unsigned int PAGESIZE = 4096;
 
 const int XNBD_PORT = 8520;