Turn enumeration into #defines

This commit is contained in:
sin 2014-11-30 12:33:51 +00:00
parent 7819662024
commit facc3a871f
1 changed files with 3 additions and 2 deletions

View File

@ -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];