From 99a3f7fb1dbf449fa3ef4abf4aea878d0b4ea128 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 23 Feb 2024 20:52:02 +0100 Subject: [PATCH] (submit/cmdline-funcs) os: unexport command line args handling functions These functions shouldn't be called by drivers or extensions, thus shouldn't be exported. Also moving it to separate header, so the already huge ones aren't cluttered with even more things. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/os-support/solaris/sun_init.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hw/xfree86/os-support/solaris/sun_init.c b/hw/xfree86/os-support/solaris/sun_init.c index ce2631179..ec52cd4da 100644 --- a/hw/xfree86/os-support/solaris/sun_init.c +++ b/hw/xfree86/os-support/solaris/sun_init.c @@ -29,7 +29,8 @@ #include #include -#include "../../../../os/cmdline.h" +#include "os/cmdline.h" +#include "os/osdep.h" #include "xf86.h" #include "xf86Priv.h" @@ -39,8 +40,6 @@ #include #endif -#include "os/osdep.h" - /* * Applications see VT number as consecutive integers starting from 1. * VT number VT device