mirror of git://git.suckless.org/ubase
Turn enumeration into #defines
This commit is contained in:
parent
7819662024
commit
facc3a871f
5
mkswap.c
5
mkswap.c
|
@ -9,8 +9,9 @@
|
||||||
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
enum { SWAP_UUID_LENGTH = 16, SWAP_LABEL_LENGTH = 16 };
|
#define SWAP_UUID_LENGTH 16
|
||||||
enum { SWAP_MIN_PAGES = 10 };
|
#define SWAP_LABEL_LENGTH 16
|
||||||
|
#define SWAP_MIN_PAGES 10
|
||||||
|
|
||||||
struct swap_hdr {
|
struct swap_hdr {
|
||||||
char bootbits[1024];
|
char bootbits[1024];
|
||||||
|
|
Loading…
Reference in New Issue