From: Julien Grall Date: Thu, 12 Mar 2020 20:24:07 +0000 (+0000) Subject: tools/helpers: xen-init-dom0: Mark clear_domid_history() static X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~547 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=98108eaee84c64511d3b58f9c58bfe96786ec58c;p=xen.git tools/helpers: xen-init-dom0: Mark clear_domid_history() static xen-init-dom0 is a standalone binary, so all the functions but the main() should be static. Signed-off-by: Julien Grall Cc: paul@xen.org Acked-by: Wei Liu --- diff --git a/tools/helpers/xen-init-dom0.c b/tools/helpers/xen-init-dom0.c index 56f69ab66f..c99224a4b6 100644 --- 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;