From 6e8e9c762d948760de4763d4d46114017f198cd4 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 2197df6f2..fc5bdc4d4 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