chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85210bf
)
coredumpctl: initialize global vars
author
Lennart Poettering
<lennart@poettering.net>
Fri, 26 Oct 2012 18:23:28 +0000
(20:23 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 26 Oct 2012 18:23:28 +0000
(20:23 +0200)
src/journal/coredumpctl.c
patch
|
blob
|
history
diff --git
a/src/journal/coredumpctl.c
b/src/journal/coredumpctl.c
index 5c442ffe9b1d4ec5cadb4b5ba04698bce9319f83..51d333c6bd744610bed808cd465869f556cb989c 100644
(file)
--- a/
src/journal/coredumpctl.c
+++ b/
src/journal/coredumpctl.c
@@
-38,10
+38,10
@@
static enum {
ACTION_DUMP,
} arg_action = ACTION_LIST;
-
Set *matches
;
-
FILE* output
;
+
static Set *matches = NULL
;
+
static FILE* output = NULL
;
-
int arg_no_pager
;
+
static int arg_no_pager = false
;
static Set *new_matches(void) {
Set *set;