Quellcode durchsuchen

move inclusion of linux headers for kd.h, soundcard.h, vt.h to bits

maintainer's note: while musl does not use the linux kernel headers,
it does provide these three sys/* headers which do nothing but include
the corresponding linux/* headers, since the sys/* versions are the
ones documented for application use (and they arguably provide
interfaces that are not linux-specific but common to other unices).
these headers should probably not be provided by libc (rather by a
separate package), but as long as they are, use the bits header
framework as an aid to out-of-tree ports of musl for non-linux systems
that want to implement them in some other way.
midipix vor 6 Jahren
Ursprung
Commit
f2c6dbe244

+ 1 - 0
arch/generic/bits/kd.h

@@ -0,0 +1 @@
+#include <linux/kd.h>

+ 1 - 0
arch/generic/bits/soundcard.h

@@ -0,0 +1 @@
+#include <linux/soundcard.h>

+ 1 - 0
arch/generic/bits/vt.h

@@ -0,0 +1 @@
+#include <linux/vt.h>

+ 1 - 1
include/sys/kd.h

@@ -1 +1 @@
-#include <linux/kd.h>
+#include <bits/kd.h>

+ 1 - 1
include/sys/soundcard.h

@@ -1 +1 @@
-#include <linux/soundcard.h>
+#include <bits/soundcard.h>

+ 1 - 1
include/sys/vt.h

@@ -1 +1 @@
-#include <linux/vt.h>
+#include <bits/vt.h>