tools/helpers: xen-init-dom0: Mark clear_domid_history() static
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
@@ -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
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.Signed-off-by Julien Grall <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
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: Markclear_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.Signed-off-by Julien Grall <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel