[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/2] tools/libs/gnttab: make mini-os specific callback static



It is possible now to make the callback for Mini-OS static, as it is
only referenced via the file_ops vector.

Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
---
 tools/libs/gnttab/minios.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tools/libs/gnttab/minios.c b/tools/libs/gnttab/minios.c
index c19f339c8c..616728d676 100644
--- a/tools/libs/gnttab/minios.c
+++ b/tools/libs/gnttab/minios.c
@@ -33,9 +33,7 @@
 
 #include "private.h"
 
-int minios_gnttab_close_fd(int fd);
-
-int minios_gnttab_close_fd(int fd)
+static int minios_gnttab_close_fd(int fd)
 {
     struct file *file = get_file_from_fd(fd);
 
-- 
2.26.2




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.