]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
tools/helpers: xen-init-dom0: Mark clear_domid_history() static
authorJulien Grall <jgrall@amazon.com>
Thu, 12 Mar 2020 20:24:07 +0000 (20:24 +0000)
committerWei 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

index 56f69ab66f149f4d366171f88e018075b29075df..c99224a4b607604e80c4ae1985b2724e278b8cd5 100644 (file)
@@ -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;