chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kmod: downgrade modprobe log message for since ipv6 might be compiled as module for...
[elogind.git]
/
src
/
swap.h
diff --git
a/src/swap.h
b/src/swap.h
index f54a9ee4344e2b54ad25d440db3ae590fe3b1788..3c53536a830690061f98c64615de746ec7958c5f 100644
(file)
--- a/
src/swap.h
+++ b/
src/swap.h
@@
-1,4
+1,4
@@
-/*-*- Mode: C; c-basic-offset: 8 -*-*/
+/*-*- Mode: C; c-basic-offset: 8
; indent-tabs-mode: nil
-*-*/
#ifndef fooswaphfoo
#define fooswaphfoo
#ifndef fooswaphfoo
#define fooswaphfoo
@@
-30,7
+30,7
@@
typedef struct Swap Swap;
typedef enum SwapState {
SWAP_DEAD,
SWAP_ACTIVE,
typedef enum SwapState {
SWAP_DEAD,
SWAP_ACTIVE,
- SWAP_MAINT
AI
NANCE,
+ SWAP_MAINT
E
NANCE,
_SWAP_STATE_MAX,
_SWAP_STATE_INVALID = -1
} SwapState;
_SWAP_STATE_MAX,
_SWAP_STATE_INVALID = -1
} SwapState;
@@
-51,11
+51,11
@@
struct Swap {
char *what;
char *what;
+ SwapState state, deserialized_state;
+
bool from_etc_fstab:1;
bool from_proc_swaps:1;
bool from_fragment:1;
bool from_etc_fstab:1;
bool from_proc_swaps:1;
bool from_fragment:1;
-
- SwapState state, deserialized_state;
};
extern const UnitVTable swap_vtable;
};
extern const UnitVTable swap_vtable;