|
From: kosmirror <kos...@us...> - 2025-08-19 01:55:46
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A pseudo Operating System for the Dreamcast.".
The branch, master has been updated
via 79034390f3a298b9b90c73a09c8f74a4a6d28fd3 (commit)
from 011c420e0b5c843591fb8258c4784eab4459fdac (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 79034390f3a298b9b90c73a09c8f74a4a6d28fd3
Author: Paul Cercueil <pa...@cr...>
Date: Tue Aug 19 01:30:25 2025 +0200
treewide: Update all files to include <kos/cdefs.h>
Plenty of files would use macros defined within <kos/cdefs.h>, but would
include <sys/cdefs.h>. Those would only compile because they would also
include <arch/types.h>, includes <arch/_types.h> that itself includes
<kos/cdefs.h>.
This gets nastier, when taking into consideration that the
<arch/_types.h> include is only done if the BYTE_ORDER macro is unset.
Signed-off-by: Paul Cercueil <pa...@cr...>
-----------------------------------------------------------------------
Summary of changes:
include/arpa/inet.h | 2 +-
include/kos/barrier.h | 2 +-
include/kos/blockdev.h | 2 +-
include/kos/elf.h | 2 +-
include/kos/exports.h | 2 +-
include/kos/fs.h | 2 +-
include/kos/fs_dev.h | 2 +-
include/kos/fs_null.h | 2 +-
include/kos/fs_pty.h | 2 +-
include/kos/fs_ramdisk.h | 2 +-
include/kos/fs_random.h | 2 +-
include/kos/fs_romdisk.h | 2 +-
include/kos/fs_socket.h | 2 +-
include/kos/genwait.h | 2 +-
include/kos/library.h | 2 +-
include/kos/net.h | 2 +-
include/kos/nmmgr.h | 2 +-
include/kos/once.h | 2 +-
include/kos/oneshot_timer.h | 2 +-
include/kos/opts.h | 2 +-
include/kos/regfield.h | 2 +-
include/kos/string.h | 2 +-
include/kos/thread.h | 2 +-
include/kos/tls.h | 2 +-
include/kos/worker_thread.h | 2 +-
include/libgen.h | 2 +-
include/malloc.h | 2 +-
include/netdb.h | 2 +-
include/netinet/in.h | 2 +-
include/netinet/tcp.h | 2 +-
include/netinet/udp.h | 2 +-
include/netinet/udplite.h | 2 +-
include/poll.h | 2 +-
include/pthread.h | 2 +-
include/sys/_pthreadtypes.h | 2 +-
include/sys/ioctl.h | 2 +-
include/sys/lock.h | 2 +-
include/sys/sched.h | 2 +-
include/sys/select.h | 2 +-
include/sys/socket.h | 2 +-
include/sys/stdio.h | 2 +-
include/sys/uio.h | 2 +-
include/sys/utsname.h | 2 +-
include/threads.h | 2 +-
kernel/arch/dreamcast/hardware/pvr/pvr_mem_core.h | 2 +-
kernel/arch/dreamcast/include/arch/byteorder.h | 2 +-
kernel/arch/dreamcast/include/arch/cache.h | 2 +-
kernel/arch/dreamcast/include/arch/dmac.h | 2 +-
kernel/arch/dreamcast/include/arch/exec.h | 2 +-
kernel/arch/dreamcast/include/arch/gdb.h | 2 +-
kernel/arch/dreamcast/include/arch/irq.h | 2 +-
kernel/arch/dreamcast/include/arch/memory.h | 2 +-
kernel/arch/dreamcast/include/arch/mmu.h | 2 +-
kernel/arch/dreamcast/include/arch/rtc.h | 2 +-
kernel/arch/dreamcast/include/arch/spinlock.h | 2 +-
kernel/arch/dreamcast/include/arch/stack.h | 2 +-
kernel/arch/dreamcast/include/arch/timer.h | 2 +-
kernel/arch/dreamcast/include/arch/tls_static.h | 2 +-
kernel/arch/dreamcast/include/arch/trap.h | 2 +-
kernel/arch/dreamcast/include/arch/types.h | 2 +-
kernel/arch/dreamcast/include/arch/wdt.h | 2 +-
kernel/arch/dreamcast/include/dc/asic.h | 2 +-
kernel/arch/dreamcast/include/dc/cdrom.h | 2 +-
kernel/arch/dreamcast/include/dc/fb_console.h | 2 +-
kernel/arch/dreamcast/include/dc/fifo.h | 2 +-
kernel/arch/dreamcast/include/dc/flashrom.h | 2 +-
kernel/arch/dreamcast/include/dc/fmath.h | 2 +-
kernel/arch/dreamcast/include/dc/fmath_base.h | 2 +-
kernel/arch/dreamcast/include/dc/fs_dcload.h | 2 +-
kernel/arch/dreamcast/include/dc/fs_dclsocket.h | 2 +-
kernel/arch/dreamcast/include/dc/fs_iso9660.h | 2 +-
kernel/arch/dreamcast/include/dc/fs_vmu.h | 2 +-
kernel/arch/dreamcast/include/dc/g1ata.h | 2 +-
kernel/arch/dreamcast/include/dc/g2bus.h | 2 +-
kernel/arch/dreamcast/include/dc/maple.h | 2 +-
kernel/arch/dreamcast/include/dc/maple/controller.h | 2 +-
kernel/arch/dreamcast/include/dc/maple/dreameye.h | 2 +-
kernel/arch/dreamcast/include/dc/maple/keyboard.h | 2 +-
kernel/arch/dreamcast/include/dc/maple/lightgun.h | 2 +-
kernel/arch/dreamcast/include/dc/maple/mouse.h | 2 +-
kernel/arch/dreamcast/include/dc/maple/purupuru.h | 2 +-
kernel/arch/dreamcast/include/dc/maple/sip.h | 2 +-
kernel/arch/dreamcast/include/dc/maple/vmu.h | 2 +-
kernel/arch/dreamcast/include/dc/math.h | 2 +-
kernel/arch/dreamcast/include/dc/matrix.h | 2 +-
kernel/arch/dreamcast/include/dc/matrix3d.h | 2 +-
kernel/arch/dreamcast/include/dc/net/broadband_adapter.h | 2 +-
kernel/arch/dreamcast/include/dc/net/lan_adapter.h | 2 +-
kernel/arch/dreamcast/include/dc/perf_monitor.h | 2 +-
kernel/arch/dreamcast/include/dc/perfctr.h | 2 +-
kernel/arch/dreamcast/include/dc/pvr.h | 2 +-
kernel/arch/dreamcast/include/dc/pvr/pvr_dma.h | 2 +-
kernel/arch/dreamcast/include/dc/pvr/pvr_fog.h | 2 +-
kernel/arch/dreamcast/include/dc/pvr/pvr_header.h | 2 +-
kernel/arch/dreamcast/include/dc/pvr/pvr_mem.h | 2 +-
kernel/arch/dreamcast/include/dc/pvr/pvr_misc.h | 2 +-
kernel/arch/dreamcast/include/dc/pvr/pvr_pal.h | 2 +-
kernel/arch/dreamcast/include/dc/pvr/pvr_regs.h | 2 +-
kernel/arch/dreamcast/include/dc/pvr/pvr_txr.h | 2 +-
kernel/arch/dreamcast/include/dc/sci.h | 2 +-
kernel/arch/dreamcast/include/dc/scif.h | 2 +-
kernel/arch/dreamcast/include/dc/sd.h | 2 +-
kernel/arch/dreamcast/include/dc/sound/sfxmgr.h | 2 +-
kernel/arch/dreamcast/include/dc/sound/sound.h | 2 +-
kernel/arch/dreamcast/include/dc/sound/stream.h | 2 +-
kernel/arch/dreamcast/include/dc/spu.h | 2 +-
kernel/arch/dreamcast/include/dc/sq.h | 2 +-
kernel/arch/dreamcast/include/dc/syscalls.h | 2 +-
kernel/arch/dreamcast/include/dc/vblank.h | 2 +-
kernel/arch/dreamcast/include/dc/vec3f.h | 2 +-
kernel/arch/dreamcast/include/dc/vector.h | 2 +-
kernel/arch/dreamcast/include/dc/video.h | 2 +-
kernel/arch/dreamcast/include/dc/vmu_fb.h | 2 +-
kernel/arch/dreamcast/include/dc/vmu_pkg.h | 2 +-
kernel/arch/dreamcast/include/dc/vmufs.h | 2 +-
kernel/net/net_dhcp.h | 2 +-
kernel/net/net_icmp.h | 2 +-
kernel/net/net_thd.h | 2 +-
118 files changed, 118 insertions(+), 118 deletions(-)
diff --git a/include/arpa/inet.h b/include/arpa/inet.h
index 54b48216..7653b2ad 100644
--- a/include/arpa/inet.h
+++ b/include/arpa/inet.h
@@ -18,7 +18,7 @@
#ifndef __ARPA_INET_H
#define __ARPA_INET_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
diff --git a/include/kos/barrier.h b/include/kos/barrier.h
index 3f7d221f..47db2300 100644
--- a/include/kos/barrier.h
+++ b/include/kos/barrier.h
@@ -7,7 +7,7 @@
#ifndef __KOS_BARRIER_H
#define __KOS_BARRIER_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
/** \file kos/barrier.h
diff --git a/include/kos/blockdev.h b/include/kos/blockdev.h
index ecf8dc93..2114354d 100644
--- a/include/kos/blockdev.h
+++ b/include/kos/blockdev.h
@@ -25,7 +25,7 @@
#ifndef __KOS_BLOCKDEV_H
#define __KOS_BLOCKDEV_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
#include <stdint.h>
diff --git a/include/kos/elf.h b/include/kos/elf.h
index 43b0499a..05ca28b8 100644
--- a/include/kos/elf.h
+++ b/include/kos/elf.h
@@ -21,7 +21,7 @@
#ifndef __KOS_ELF_H
#define __KOS_ELF_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
#include <stdint.h>
diff --git a/include/kos/exports.h b/include/kos/exports.h
index da30f13e..ffdb1c50 100644
--- a/include/kos/exports.h
+++ b/include/kos/exports.h
@@ -21,7 +21,7 @@
#ifndef __KOS_EXPORTS_H
#define __KOS_EXPORTS_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
#include <stdint.h>
diff --git a/include/kos/fs.h b/include/kos/fs.h
index e6a75756..f140861b 100644
--- a/include/kos/fs.h
+++ b/include/kos/fs.h
@@ -24,7 +24,7 @@
#ifndef __KOS_FS_H
#define __KOS_FS_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
#include <sys/types.h>
diff --git a/include/kos/fs_dev.h b/include/kos/fs_dev.h
index ca3922f7..b8003be9 100644
--- a/include/kos/fs_dev.h
+++ b/include/kos/fs_dev.h
@@ -19,7 +19,7 @@
#ifndef __DC_FS_DEV_H
#define __DC_FS_DEV_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
#include <kos/fs.h>
diff --git a/include/kos/fs_null.h b/include/kos/fs_null.h
index a0f3994b..55f87607 100644
--- a/include/kos/fs_null.h
+++ b/include/kos/fs_null.h
@@ -18,7 +18,7 @@
#ifndef __DC_FS_NULL_H
#define __DC_FS_NULL_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
#include <kos/fs.h>
diff --git a/include/kos/fs_pty.h b/include/kos/fs_pty.h
index d0626547..1452b83e 100644
--- a/include/kos/fs_pty.h
+++ b/include/kos/fs_pty.h
@@ -23,7 +23,7 @@
#ifndef __KOS_FS_PTY_H
#define __KOS_FS_PTY_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
#include <kos/fs.h>
diff --git a/include/kos/fs_ramdisk.h b/include/kos/fs_ramdisk.h
index d47a2c22..9f79833b 100644
--- a/include/kos/fs_ramdisk.h
+++ b/include/kos/fs_ramdisk.h
@@ -23,7 +23,7 @@
#ifndef __KOS_FS_RAMDISK_H
#define __KOS_FS_RAMDISK_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
#include <kos/fs.h>
diff --git a/include/kos/fs_random.h b/include/kos/fs_random.h
index e04856ae..78346203 100644
--- a/include/kos/fs_random.h
+++ b/include/kos/fs_random.h
@@ -25,7 +25,7 @@
#ifndef __DC_FS_RANDOM_H
#define __DC_FS_RANDOM_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
#include <kos/fs.h>
diff --git a/include/kos/fs_romdisk.h b/include/kos/fs_romdisk.h
index 3eb2d952..e37bda39 100644
--- a/include/kos/fs_romdisk.h
+++ b/include/kos/fs_romdisk.h
@@ -49,7 +49,7 @@
#ifndef __KOS_FS_ROMDISK_H
#define __KOS_FS_ROMDISK_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
#include <stdbool.h>
#include <stdint.h>
__BEGIN_DECLS
diff --git a/include/kos/fs_socket.h b/include/kos/fs_socket.h
index dc984a38..d361dcc4 100644
--- a/include/kos/fs_socket.h
+++ b/include/kos/fs_socket.h
@@ -25,7 +25,7 @@
#ifndef __KOS_FS_SOCKET_H
#define __KOS_FS_SOCKET_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
diff --git a/include/kos/genwait.h b/include/kos/genwait.h
index 0f480a73..c538fea6 100644
--- a/include/kos/genwait.h
+++ b/include/kos/genwait.h
@@ -23,7 +23,7 @@
#ifndef __KOS_GENWAIT_H
#define __KOS_GENWAIT_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
#include <kos/thread.h>
diff --git a/include/kos/library.h b/include/kos/library.h
index f7dbf50b..da0d718c 100644
--- a/include/kos/library.h
+++ b/include/kos/library.h
@@ -28,7 +28,7 @@
#ifndef __KOS_LIBRARY_H
#define __KOS_LIBRARY_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
#include <kos/thread.h>
diff --git a/include/kos/net.h b/include/kos/net.h
index 19b74a9b..e3af36f3 100644
--- a/include/kos/net.h
+++ b/include/kos/net.h
@@ -20,7 +20,7 @@
#ifndef __KOS_NET_H
#define __KOS_NET_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
#include <stdint.h>
__BEGIN_DECLS
diff --git a/include/kos/nmmgr.h b/include/kos/nmmgr.h
index 1d11ae5a..f2213569 100644
--- a/include/kos/nmmgr.h
+++ b/include/kos/nmmgr.h
@@ -19,7 +19,7 @@
#ifndef __KOS_NMMGR_H
#define __KOS_NMMGR_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
#include <stdint.h>
diff --git a/include/kos/once.h b/include/kos/once.h
index a0f25853..b8df0819 100644
--- a/include/kos/once.h
+++ b/include/kos/once.h
@@ -21,7 +21,7 @@
\author Lawrence Sebald
*/
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
diff --git a/include/kos/oneshot_timer.h b/include/kos/oneshot_timer.h
index 40c27048..76fb6dc6 100644
--- a/include/kos/oneshot_timer.h
+++ b/include/kos/oneshot_timer.h
@@ -21,7 +21,7 @@
#ifndef __KOS_ONESHOT_TIMER_H
#define __KOS_ONESHOT_TIMER_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
struct oneshot_timer;
diff --git a/include/kos/opts.h b/include/kos/opts.h
index 069d9c65..b4bb72eb 100644
--- a/include/kos/opts.h
+++ b/include/kos/opts.h
@@ -29,7 +29,7 @@
#ifndef __KOS_OPTS_H
#define __KOS_OPTS_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
/** \defgroup debugging_options Options
diff --git a/include/kos/regfield.h b/include/kos/regfield.h
index f3e66ed3..9bfad265 100644
--- a/include/kos/regfield.h
+++ b/include/kos/regfield.h
@@ -16,7 +16,7 @@
#ifndef __KOS_REGFIELD_H
#define __KOS_REGFIELD_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
/** \brief Create a mask with a bit set
diff --git a/include/kos/string.h b/include/kos/string.h
index 855a565d..b3a67f01 100644
--- a/include/kos/string.h
+++ b/include/kos/string.h
@@ -29,7 +29,7 @@
#ifndef __KOS_STRING_H
#define __KOS_STRING_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
#include <string.h>
diff --git a/include/kos/thread.h b/include/kos/thread.h
index add2b361..23d91f13 100644
--- a/include/kos/thread.h
+++ b/include/kos/thread.h
@@ -35,7 +35,7 @@
#ifndef __KOS_THREAD_H
#define __KOS_THREAD_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
#include <kos/cdefs.h>
diff --git a/include/kos/tls.h b/include/kos/tls.h
index 1e67bb9d..9da834a7 100644
--- a/include/kos/tls.h
+++ b/include/kos/tls.h
@@ -18,7 +18,7 @@
#ifndef __KOS_TLS_H
#define __KOS_TLS_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
diff --git a/include/kos/worker_thread.h b/include/kos/worker_thread.h
index 0d291897..7fb3c253 100644
--- a/include/kos/worker_thread.h
+++ b/include/kos/worker_thread.h
@@ -29,7 +29,7 @@
#ifndef __KOS_WORKER_THREAD_H
#define __KOS_WORKER_THREAD_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
#include <kos/thread.h>
diff --git a/include/libgen.h b/include/libgen.h
index dc3a3bed..1245ae6a 100644
--- a/include/libgen.h
+++ b/include/libgen.h
@@ -23,7 +23,7 @@
#ifndef __LIBGEN_H
#define __LIBGEN_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
/** \addtogroup vfs_posix
diff --git a/include/malloc.h b/include/malloc.h
index daaab448..e691537e 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -19,7 +19,7 @@
#ifndef __MALLOC_H
#define __MALLOC_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
/** \defgroup system_allocator Allocator
diff --git a/include/netdb.h b/include/netdb.h
index fbd9a382..4343856d 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -18,7 +18,7 @@
#ifndef __NETDB_H
#define __NETDB_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
diff --git a/include/netinet/in.h b/include/netinet/in.h
index 5fb23321..95aacb7f 100644
--- a/include/netinet/in.h
+++ b/include/netinet/in.h
@@ -20,7 +20,7 @@
#ifndef __NETINET_IN_H
#define __NETINET_IN_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h
index bc0a8c01..dcdd9c4a 100644
--- a/include/netinet/tcp.h
+++ b/include/netinet/tcp.h
@@ -21,7 +21,7 @@
#ifndef __NETINET_TCP_H
#define __NETINET_TCP_H
-#include <sys/cdefs.h>
+#include <kos/cdefs.h>
__BEGIN_DECLS
diff --git a/include/netinet/udp.h b/include/netinet/udp.h
index 85d9fc85..ea92da95 100644
...<truncated>...
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|