diff options
author | midipix <writeonce@midipix.org> | 2018-07-14 22:51:22 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-07-20 01:06:41 -0400 |
commit | f2c6dbe2442027ed8fe0fa869918e41f495534d8 (patch) | |
tree | bc4437d03297441b22dec6adacf778a2512c6c98 | |
parent | 2fab90a71acd3698954c08b9062db67188443dd7 (diff) | |
download | musl-f2c6dbe2442027ed8fe0fa869918e41f495534d8.zip musl-f2c6dbe2442027ed8fe0fa869918e41f495534d8.tar.gz musl-f2c6dbe2442027ed8fe0fa869918e41f495534d8.tar.bz2 |
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.
-rw-r--r-- | arch/generic/bits/kd.h | 1 | ||||
-rw-r--r-- | arch/generic/bits/soundcard.h | 1 | ||||
-rw-r--r-- | arch/generic/bits/vt.h | 1 | ||||
-rw-r--r-- | include/sys/kd.h | 2 | ||||
-rw-r--r-- | include/sys/soundcard.h | 2 | ||||
-rw-r--r-- | include/sys/vt.h | 2 |
6 files changed, 6 insertions, 3 deletions
diff --git a/arch/generic/bits/kd.h b/arch/generic/bits/kd.h new file mode 100644 index 0000000..33b873f --- /dev/null +++ b/arch/generic/bits/kd.h @@ -0,0 +1 @@ +#include <linux/kd.h> diff --git a/arch/generic/bits/soundcard.h b/arch/generic/bits/soundcard.h new file mode 100644 index 0000000..fade986 --- /dev/null +++ b/arch/generic/bits/soundcard.h @@ -0,0 +1 @@ +#include <linux/soundcard.h> diff --git a/arch/generic/bits/vt.h b/arch/generic/bits/vt.h new file mode 100644 index 0000000..834abfb --- /dev/null +++ b/arch/generic/bits/vt.h @@ -0,0 +1 @@ +#include <linux/vt.h> diff --git a/include/sys/kd.h b/include/sys/kd.h index 33b873f..42122b9 100644 --- a/include/sys/kd.h +++ b/include/sys/kd.h @@ -1 +1 @@ -#include <linux/kd.h> +#include <bits/kd.h> diff --git a/include/sys/soundcard.h b/include/sys/soundcard.h index fade986..5ca7764 100644 --- a/include/sys/soundcard.h +++ b/include/sys/soundcard.h @@ -1 +1 @@ -#include <linux/soundcard.h> +#include <bits/soundcard.h> diff --git a/include/sys/vt.h b/include/sys/vt.h index 834abfb..5000de4 100644 --- a/include/sys/vt.h +++ b/include/sys/vt.h @@ -1 +1 @@ -#include <linux/vt.h> +#include <bits/vt.h> |