(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 <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-02-23 20:52:02 +01:00
parent b7068bc09f
commit a1a0794a23

View File

@ -29,7 +29,8 @@
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "../../../../os/cmdline.h" #include "os/cmdline.h"
#include "os/osdep.h"
#include "xf86.h" #include "xf86.h"
#include "xf86Priv.h" #include "xf86Priv.h"
@ -39,8 +40,6 @@
#include <sys/kd.h> #include <sys/kd.h>
#endif #endif
#include "os/osdep.h"
/* /*
* Applications see VT number as consecutive integers starting from 1. * Applications see VT number as consecutive integers starting from 1.
* VT number VT device * VT number VT device