Compiler warns about it, and its only invoked from this file. --- i386/i386/ldt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/i386/i386/ldt.c b/i386/i386/ldt.c index 5db36426..7db67f99 100644 --- a/i386/i386/ldt.c +++ b/i386/i386/ldt.c @@ -54,7 +54,7 @@ struct real_descriptor ldt[LDTSZ]; #define USER_SEGMENT_SIZEBITS SZ_32 #endif -void +static void ldt_fill(struct real_descriptor *myldt, struct real_descriptor *mygdt) { #ifdef MACH_PV_DESCRIPTORS -- 2.40.1