aboutsummaryrefslogtreecommitdiff
path: root/mkswap.c
diff options
context:
space:
mode:
authormarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-01-23 22:30:04 +0000
committermarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-01-23 22:30:04 +0000
commitb2b4893698607c194acfd2e355154b54273b8880 (patch)
tree852d97bdc34c44dbcf29cc8b5cd9257a8c90f7b3 /mkswap.c
parentfc2d2e3371dbe137decc3aa2065acd6140226f94 (diff)
downloadbusybox-w32-b2b4893698607c194acfd2e355154b54273b8880.tar.gz
busybox-w32-b2b4893698607c194acfd2e355154b54273b8880.tar.bz2
busybox-w32-b2b4893698607c194acfd2e355154b54273b8880.zip
#define -> static const int. Also got rid of some big static buffers.
git-svn-id: svn://busybox.net/trunk/busybox@1642 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'mkswap.c')
-rw-r--r--mkswap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkswap.c b/mkswap.c
index e7fab4e07..5b908daa3 100644
--- a/mkswap.c
+++ b/mkswap.c
@@ -48,7 +48,7 @@
48 48
49#ifndef _IO 49#ifndef _IO
50/* pre-1.3.45 */ 50/* pre-1.3.45 */
51#define BLKGETSIZE 0x1260 51static const int BLKGETSIZE = 0x1260;
52#else 52#else
53/* same on i386, m68k, arm; different on alpha, mips, sparc, ppc */ 53/* same on i386, m68k, arm; different on alpha, mips, sparc, ppc */
54#define BLKGETSIZE _IO(0x12,96) 54#define BLKGETSIZE _IO(0x12,96)