Skip to content

Commit

Permalink
Get rid of .internal.h convention in LIBC_INTRIN
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed Jul 20, 2024
1 parent 0ed916a commit 86d884c
Show file tree
Hide file tree
Showing 591 changed files with 773 additions and 773 deletions.
2 changes: 1 addition & 1 deletion dsp/core/scalevolume.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
│ PERFORMANCE OF THIS SOFTWARE. │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "dsp/core/core.h"
#include "libc/intrin/safemacros.internal.h"
#include "libc/intrin/safemacros.h"
#include "libc/limits.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion dsp/tty/ident.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "libc/calls/termios.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/intrin/safemacros.internal.h"
#include "libc/intrin/safemacros.h"
#include "libc/intrin/weaken.h"
#include "libc/mem/mem.h"
#include "libc/runtime/runtime.h"
Expand Down
2 changes: 1 addition & 1 deletion dsp/tty/ttymove.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
╚─────────────────────────────────────────────────────────────────────────────*/
#include "dsp/tty/itoa8.h"
#include "dsp/tty/tty.h"
#include "libc/intrin/safemacros.internal.h"
#include "libc/intrin/safemacros.h"
#include "libc/limits.h"
#include "libc/log/check.h"

Expand Down
2 changes: 1 addition & 1 deletion dsp/tty/ttyraster.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "dsp/tty/ttyrgb.h"
#include "dsp/tty/windex.h"
#include "libc/assert.h"
#include "libc/intrin/safemacros.internal.h"
#include "libc/intrin/safemacros.h"
#include "libc/limits.h"
#include "libc/log/check.h"
#include "libc/log/log.h"
Expand Down
2 changes: 1 addition & 1 deletion examples/nesemu1.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/fmt/conv.h"
#include "libc/intrin/safemacros.internal.h"
#include "libc/intrin/safemacros.h"
#include "libc/inttypes.h"
#include "libc/log/check.h"
#include "libc/log/log.h"
Expand Down
2 changes: 1 addition & 1 deletion examples/unbourne.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/fmt/conv.h"
#include "libc/intrin/safemacros.internal.h"
#include "libc/intrin/safemacros.h"
#include "libc/limits.h"
#include "libc/log/log.h"
#include "libc/macros.internal.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/assertfail.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "libc/calls/struct/sigset.internal.h"
#include "libc/errno.h"
#include "libc/fmt/itoa.h"
#include "libc/intrin/describebacktrace.internal.h"
#include "libc/intrin/describebacktrace.h"
#include "libc/runtime/runtime.h"
#include "libc/runtime/symbols.internal.h"

Expand Down
2 changes: 1 addition & 1 deletion libc/calls/cachestat.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
╚─────────────────────────────────────────────────────────────────────────────*/

#include "libc/calls/cachestat.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"

int sys_cachestat(int, struct cachestat_range *, struct cachestat *, uint32_t);

Expand Down
2 changes: 1 addition & 1 deletion libc/calls/chdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/intrin/weaken.h"
#include "libc/log/log.h"
#include "libc/runtime/runtime.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/chroot.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "libc/calls/calls.h"
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/sysv/errfuns.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/clktck.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "libc/calls/calls.h"
#include "libc/dce.h"
#include "libc/fmt/wintime.internal.h"
#include "libc/intrin/getauxval.internal.h"
#include "libc/intrin/getauxval.h"
#include "libc/runtime/runtime.h"
#include "libc/sysv/consts/auxv.h"

Expand Down
4 changes: 2 additions & 2 deletions libc/calls/clock_getres.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/calls/struct/timespec.internal.h"
#include "libc/dce.h"
#include "libc/intrin/describeflags.internal.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/describeflags.h"
#include "libc/intrin/strace.h"
#include "libc/sysv/consts/clock.h"
#include "libc/sysv/errfuns.h"
#include "libc/time.h"
Expand Down
4 changes: 2 additions & 2 deletions libc/calls/clock_gettime.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#include "libc/calls/syscall_support-sysv.internal.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/intrin/describeflags.internal.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/describeflags.h"
#include "libc/intrin/strace.h"
#include "libc/runtime/syslib.internal.h"

#ifdef __aarch64__
Expand Down
4 changes: 2 additions & 2 deletions libc/calls/clock_nanosleep-sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#include "libc/calls/struct/timespec.internal.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/intrin/describeflags.internal.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/describeflags.h"
#include "libc/intrin/strace.h"
#include "libc/intrin/weaken.h"
#include "libc/sysv/errfuns.h"
#include "libc/thread/thread.h"
Expand Down
4 changes: 2 additions & 2 deletions libc/calls/clock_settime.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#include "libc/calls/struct/timeval.h"
#include "libc/calls/struct/timeval.internal.h"
#include "libc/dce.h"
#include "libc/intrin/describeflags.internal.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/describeflags.h"
#include "libc/intrin/strace.h"
#include "libc/sysv/consts/clock.h"
#include "libc/sysv/errfuns.h"

Expand Down
2 changes: 1 addition & 1 deletion libc/calls/close-nt.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
│ PERFORMANCE OF THIS SOFTWARE. │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/calls/internal.h"
#include "libc/calls/struct/fd.internal.h"
#include "libc/intrin/fds.h"
#include "libc/calls/syscall-nt.internal.h"
#include "libc/calls/syscall_support-nt.internal.h"
#include "libc/intrin/weaken.h"
Expand Down
4 changes: 2 additions & 2 deletions libc/calls/close.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
#include "libc/calls/calls.h"
#include "libc/calls/internal.h"
#include "libc/calls/state.internal.h"
#include "libc/calls/struct/fd.internal.h"
#include "libc/intrin/fds.h"
#include "libc/calls/struct/sigset.internal.h"
#include "libc/calls/syscall-nt.internal.h"
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/intrin/kprintf.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/intrin/weaken.h"
#include "libc/runtime/zipos.internal.h"
#include "libc/sock/syscall_fd.internal.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/close_range.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "libc/calls/calls.h"
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/sysv/errfuns.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/closefrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/limits.h"
#include "libc/sysv/errfuns.h"

Expand Down
2 changes: 1 addition & 1 deletion libc/calls/commandv.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "libc/calls/calls.h"
#include "libc/calls/struct/stat.h"
#include "libc/errno.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/paths.h"
#include "libc/runtime/runtime.h"
#include "libc/str/str.h"
Expand Down
4 changes: 2 additions & 2 deletions libc/calls/copy_file_range.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
#include "libc/cosmo.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/intrin/describeflags.internal.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/describeflags.h"
#include "libc/intrin/strace.h"
#include "libc/sysv/consts/sig.h"
#include "libc/sysv/errfuns.h"

Expand Down
2 changes: 1 addition & 1 deletion libc/calls/dup.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "libc/calls/syscall-nt.internal.h"
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/intrin/weaken.h"
#include "libc/runtime/zipos.internal.h"
#include "libc/sysv/errfuns.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/dup2.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/intrin/kprintf.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/intrin/weaken.h"
#include "libc/runtime/zipos.internal.h"
#include "libc/str/str.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/dup3-sysv.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "libc/cosmo.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/sysv/consts/o.h"
#include "libc/sysv/errfuns.h"

Expand Down
2 changes: 1 addition & 1 deletion libc/calls/dup3.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/intrin/kprintf.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/intrin/weaken.h"
#include "libc/runtime/zipos.internal.h"
#include "libc/str/str.h"
Expand Down
4 changes: 2 additions & 2 deletions libc/calls/faccessat.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/intrin/describeflags.internal.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/describeflags.h"
#include "libc/intrin/strace.h"
#include "libc/intrin/weaken.h"
#include "libc/runtime/zipos.internal.h"
#include "libc/sysv/consts/at.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/fadvise.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/str/str.h"
#include "libc/sysv/errfuns.h"

Expand Down
2 changes: 1 addition & 1 deletion libc/calls/fchdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "libc/calls/syscall-nt.internal.h"
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/sysv/errfuns.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/fchmod-nt.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
│ PERFORMANCE OF THIS SOFTWARE. │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/calls/internal.h"
#include "libc/calls/struct/fd.internal.h"
#include "libc/intrin/fds.h"
#include "libc/calls/syscall-nt.internal.h"
#include "libc/calls/syscall_support-nt.internal.h"
#include "libc/nt/enum/fileflagandattributes.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/fchmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "libc/calls/syscall-nt.internal.h"
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/sysv/errfuns.h"

/**
Expand Down
4 changes: 2 additions & 2 deletions libc/calls/fchmodat.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/intrin/describeflags.internal.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/describeflags.h"
#include "libc/intrin/strace.h"
#include "libc/intrin/weaken.h"
#include "libc/runtime/zipos.internal.h"
#include "libc/sysv/errfuns.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/fchown.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/calls/calls.h"
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/sysv/consts/at.h"

/**
Expand Down
4 changes: 2 additions & 2 deletions libc/calls/fchownat.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#include "libc/calls/calls.h"
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/intrin/describeflags.internal.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/describeflags.h"
#include "libc/intrin/strace.h"
#include "libc/intrin/weaken.h"
#include "libc/runtime/zipos.internal.h"
#include "libc/sysv/errfuns.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/fcntl-nt.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "libc/calls/calls.h"
#include "libc/calls/createfileflags.internal.h"
#include "libc/calls/internal.h"
#include "libc/calls/struct/fd.internal.h"
#include "libc/intrin/fds.h"
#include "libc/calls/struct/flock.h"
#include "libc/calls/struct/sigset.internal.h"
#include "libc/calls/syscall-nt.internal.h"
Expand Down
4 changes: 2 additions & 2 deletions libc/calls/fcntl.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include "libc/calls/syscall-nt.internal.h"
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/intrin/describeflags.internal.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/describeflags.h"
#include "libc/intrin/strace.h"
#include "libc/intrin/weaken.h"
#include "libc/runtime/zipos.internal.h"
#include "libc/str/str.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/fdatasync.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "libc/calls/syscall-nt.internal.h"
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/runtime/runtime.h"
#include "libc/sysv/errfuns.h"

Expand Down
2 changes: 1 addition & 1 deletion libc/calls/fdexists.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/sysv/consts/f.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/fileexists.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "libc/calls/syscall_support-nt.internal.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"
#include "libc/intrin/weaken.h"
#include "libc/nt/files.h"
#include "libc/runtime/zipos.internal.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/finddebugbinary.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "libc/elf/def.h"
#include "libc/elf/tinyelf.internal.h"
#include "libc/errno.h"
#include "libc/intrin/directmap.internal.h"
#include "libc/intrin/directmap.h"
#include "libc/nt/memory.h"
#include "libc/nt/runtime.h"
#include "libc/runtime/runtime.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/flock-nt.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
│ PERFORMANCE OF THIS SOFTWARE. │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/calls/internal.h"
#include "libc/calls/struct/fd.internal.h"
#include "libc/intrin/fds.h"
#include "libc/calls/syscall-nt.internal.h"
#include "libc/calls/syscall_support-nt.internal.h"
#include "libc/nt/enum/filelockflags.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/calls/flock.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "libc/calls/syscall-nt.internal.h"
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/dce.h"
#include "libc/intrin/strace.internal.h"
#include "libc/intrin/strace.h"

/**
* Acquires lock on file.
Expand Down
Loading

0 comments on commit 86d884c

Please sign in to comment.