ubase

suckless linux base utils
git clone git://git.2f30.org/ubase.git
Log | Files | Refs | README | LICENSE

commit fa004f2961fb336e63cf724d7464acbf10e6e92d
parent d8fbc28641441c230ee779300f53b082cf48c93a
Author: sin <sin@2f30.org>
Date:   Sun Nov 30 12:33:51 +0000

Turn enumeration into #defines

Diffstat:
mkswap.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/mkswap.c b/mkswap.c @@ -9,8 +9,9 @@ #include "util.h" -enum { SWAP_UUID_LENGTH = 16, SWAP_LABEL_LENGTH = 16 }; -enum { SWAP_MIN_PAGES = 10 }; +#define SWAP_UUID_LENGTH 16 +#define SWAP_LABEL_LENGTH 16 +#define SWAP_MIN_PAGES 10 struct swap_hdr { char bootbits[1024];