Skip to contentSkip to conversation

tools/helpers: xen-init-dom0: Mark clear_domid_history() static

PATCH In review [email protected] 3 participants 3 messages Mar 12, 2020 – Mar 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/helpers: xen-init-dom0: Mark clear_domid_history() static

From: Julien Grall <[email protected]>

xen-init-dom0 is a standalone binary, so all the functions but the main() should be static.

---
 tools/helpers/xen-init-dom0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/helpers/xen-init-dom0.c +1 -1
index 56f69ab66f..c99224a4b6 100644
@@ -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;
Signature · 7 lines
2.17.1


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · On Thu, Mar 12, 2020 at 08:24:07PM +0000, [email protected] wrote:

From: Julien Grall <[email protected]>

xen-init-dom0 is a standalone binary, so all the functions but the main() should be static.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reviewed-by on v1 1/1
#2 lore raw
In reply to [email protected]
Quoted 8 lines

-----Original Message-----
From: [email protected] <[email protected]>
Sent: 12 March 2020 20:24
To: [email protected]
Cc: Julien Grall <[email protected]>; Ian Jackson <[email protected]>; Wei Liu <[email protected]>; [email protected]
Subject: [PATCH] tools/helpers: xen-init-dom0: Mark clear_domid_history() static

Quoted 7 lines

From: Julien Grall <[email protected]>

xen-init-dom0 is a standalone binary, so all the functions but the main() should be static.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel