projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ff7a88
)
tools/helpers: xen-init-dom0: Mark clear_domid_history() static
author
Julien Grall
<jgrall@amazon.com>
Thu, 12 Mar 2020 20:24:07 +0000
(20:24 +0000)
committer
Wei Liu
<wl@xen.org>
Fri, 13 Mar 2020 10:18:31 +0000
(10:18 +0000)
xen-init-dom0 is a standalone binary, so all the functions but the
main() should be static.
Signed-off-by: Julien Grall <jgrall@amazon.com>
Cc: paul@xen.org
Acked-by: Wei Liu <wl@xen.org>
tools/helpers/xen-init-dom0.c
patch
|
blob
|
history
diff --git
a/tools/helpers/xen-init-dom0.c
b/tools/helpers/xen-init-dom0.c
index 56f69ab66f149f4d366171f88e018075b29075df..c99224a4b607604e80c4ae1985b2724e278b8cd5 100644
(file)
--- a/
tools/helpers/xen-init-dom0.c
+++ b/
tools/helpers/xen-init-dom0.c
@@
-12,7
+12,7
@@
#define DOMNAME_PATH "/local/domain/0/name"
#define DOMID_PATH "/local/domain/0/domid"
-int clear_domid_history(void)
+
static
int clear_domid_history(void)
{
int rc = 1;
xentoollog_logger_stdiostream *logger;