From eb5be61d20c03e0f6365626af20b8a1fdd6c9f85 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 13 Oct 2013 18:03:34 +0200 Subject: [PATCH] Fix trailing blank lines. --- games/pong.cpp | 1 - libc/abs.cpp | 1 - libc/ctype.c | 1 - libc/dir.c | 1 - libc/env.cpp | 1 - libc/fddir-sortix.c | 1 - libc/fdio.c | 1 - libc/fdio.h | 1 - libc/fgets.cpp | 1 - libc/include/ctype.h | 1 - libc/include/fcntl.h | 1 - libc/include/locale.h | 1 - libc/include/stdint.h | 1 - libc/include/sys/kernelinfo.h | 1 - libc/include/sys/mman.h | 1 - libc/include/sys/readdirents.h | 1 - libc/include/sys/stat.h | 1 - libc/include/sys/types.h | 1 - libc/include/sys/wait.h | 1 - libc/include/termios.h | 1 - libc/include/unistd.h | 1 - libc/include/wchar.h | 1 - libc/setjmp.c | 1 - libc/setlocale.cpp | 1 - libc/sort.cpp | 1 - mkinitrd/initrdfs.cpp | 1 - mkinitrd/mkinitrd.cpp | 1 - sortix/calltrace.cpp | 1 - sortix/calltrace.h | 1 - sortix/com.cpp | 1 - sortix/descriptors.cpp | 1 - sortix/descriptors.h | 1 - sortix/device.cpp | 1 - sortix/device.h | 1 - sortix/directory.cpp | 2 -- sortix/directory.h | 1 - sortix/elf.cpp | 1 - sortix/end.cpp | 1 - sortix/filesystem.cpp | 2 -- sortix/filesystem.h | 1 - sortix/fs/devfs.cpp | 1 - sortix/fs/devfs.h | 1 - sortix/fs/initfs.cpp | 1 - sortix/fs/initfs.h | 1 - sortix/fs/ramfs.cpp | 1 - sortix/fs/ramfs.h | 1 - sortix/fs/util.cpp | 1 - sortix/include/sortix/fcntl.h | 1 - sortix/include/sortix/initrd.h | 1 - sortix/include/sortix/kernel/kthread.h | 1 - sortix/include/sortix/kernel/memorymanagement.h | 1 - sortix/include/sortix/kernel/panic.h | 1 - sortix/include/sortix/kernel/pci.h | 1 - sortix/include/sortix/keycodes.h | 1 - sortix/include/sortix/seek.h | 1 - sortix/include/sortix/signal.h | 1 - sortix/include/sortix/stat.h | 1 - sortix/include/sortix/termios.h | 1 - sortix/include/sortix/termmode.h | 1 - sortix/include/sortix/timeval.h | 1 - sortix/include/sortix/unistd.h | 1 - sortix/include/sortix/vga.h | 1 - sortix/include/sortix/x64/bits.h | 1 - sortix/include/sortix/x64/fork.h | 1 - sortix/include/sortix/x86/bits.h | 1 - sortix/include/sortix/x86/fork.h | 1 - sortix/interrupt.cpp | 1 - sortix/interrupt.h | 1 - sortix/io.h | 1 - sortix/kb/layout/us.cpp | 1 - sortix/kb/layout/us.h | 1 - sortix/kb/ps2.cpp | 1 - sortix/kb/ps2.h | 1 - sortix/kernelinfo.cpp | 1 - sortix/kernelinfo.h | 1 - sortix/keyboard.cpp | 1 - sortix/keyboard.h | 1 - sortix/linebuffer.cpp | 1 - sortix/linebuffer.h | 1 - sortix/logterminal.h | 1 - sortix/mount.h | 1 - sortix/multiboot.h | 1 - sortix/pipe.h | 1 - sortix/process.h | 1 - sortix/serialterminal.h | 1 - sortix/signal.h | 1 - sortix/sound.cpp | 1 - sortix/sound.h | 1 - sortix/stream.h | 1 - sortix/syscall.cpp | 1 - sortix/syscall.h | 1 - sortix/terminal.cpp | 1 - sortix/terminal.h | 1 - sortix/thread.h | 1 - sortix/time.h | 1 - sortix/uart.h | 1 - sortix/utf8.cpp | 1 - sortix/utf8.h | 1 - sortix/vga.h | 1 - sortix/x64/gdt.s | 1 - sortix/x64/x64.h | 1 - sortix/x86-family/gdt.cpp | 1 - sortix/x86-family/gdt.h | 1 - sortix/x86-family/idt.cpp | 1 - sortix/x86-family/idt.h | 1 - sortix/x86-family/memorymanagement.cpp | 1 - sortix/x86-family/x86-family.h | 1 - sortix/x86/x86.h | 1 - utils/cat.cpp | 1 - utils/column.cpp | 1 - utils/head.cpp | 1 - utils/init.cpp | 1 - utils/ls.cpp | 1 - utils/mxsh.cpp | 1 - utils/pwd.cpp | 1 - utils/tail.cpp | 1 - utils/type.cpp | 1 - utils/uname.cpp | 1 - 118 files changed, 120 deletions(-) diff --git a/games/pong.cpp b/games/pong.cpp index f96c8f55..bfeccad6 100644 --- a/games/pong.cpp +++ b/games/pong.cpp @@ -285,4 +285,3 @@ int main(int argc, char* argv[]) return 0; } - diff --git a/libc/abs.cpp b/libc/abs.cpp index 17a4abd9..4740e922 100644 --- a/libc/abs.cpp +++ b/libc/abs.cpp @@ -35,4 +35,3 @@ extern "C" int abs(int val) { return Absolute(val); } extern "C" long int labs(long int val) { return Absolute(val); } extern "C" long long int llabs(long long int val) { return Absolute(val); } extern "C" intmax_t imaxabs(intmax_t val) { return Absolute(val); } - diff --git a/libc/ctype.c b/libc/ctype.c index 073923ae..64ea6604 100644 --- a/libc/ctype.c +++ b/libc/ctype.c @@ -100,4 +100,3 @@ int toupper(int c) if ( 'a' <= c && c <= 'z' ) { return 'A' + c - 'a'; } return c; } - diff --git a/libc/dir.c b/libc/dir.c index 5ac313c3..9c92c0bd 100644 --- a/libc/dir.c +++ b/libc/dir.c @@ -147,4 +147,3 @@ int dcloseall(void) while ( firstdir ) { result |= closedir(firstdir); } return (result) ? EOF : 0; } - diff --git a/libc/env.cpp b/libc/env.cpp index 0838ae0a..8a2c4cbf 100644 --- a/libc/env.cpp +++ b/libc/env.cpp @@ -198,4 +198,3 @@ extern "C" int unsetenv(const char* name) } return 0; } - diff --git a/libc/fddir-sortix.c b/libc/fddir-sortix.c index 2a666389..656cf5ef 100644 --- a/libc/fddir-sortix.c +++ b/libc/fddir-sortix.c @@ -137,4 +137,3 @@ DIR* opendir(const char* path) if ( !dir ) { close(fd); return NULL; } return dir; } - diff --git a/libc/fdio.c b/libc/fdio.c index 1e518889..b0478667 100644 --- a/libc/fdio.c +++ b/libc/fdio.c @@ -211,4 +211,3 @@ int remove(const char* pathname) } return result; } - diff --git a/libc/fdio.h b/libc/fdio.h index 28c2870c..6b4d6712 100644 --- a/libc/fdio.h +++ b/libc/fdio.h @@ -35,4 +35,3 @@ FILE* fdio_newfile(int fd, const char* mode); __END_DECLS #endif - diff --git a/libc/fgets.cpp b/libc/fgets.cpp index e94babfb..ac09432a 100644 --- a/libc/fgets.cpp +++ b/libc/fgets.cpp @@ -43,4 +43,3 @@ extern "C" char* fgets(char* dest, int size, FILE* fp) dest[i] = '\0'; return dest; } - diff --git a/libc/include/ctype.h b/libc/include/ctype.h index 04477f8a..dc6e6bfc 100644 --- a/libc/include/ctype.h +++ b/libc/include/ctype.h @@ -50,4 +50,3 @@ int toupper(int c); __END_DECLS #endif - diff --git a/libc/include/fcntl.h b/libc/include/fcntl.h index b5d42e99..dc96de51 100644 --- a/libc/include/fcntl.h +++ b/libc/include/fcntl.h @@ -67,4 +67,3 @@ int openat(int fd, const char* path, int oflag, ...); __END_DECLS #endif - diff --git a/libc/include/locale.h b/libc/include/locale.h index 51280020..92672975 100644 --- a/libc/include/locale.h +++ b/libc/include/locale.h @@ -77,4 +77,3 @@ struct lconv* localeconv(void); __END_DECLS #endif - diff --git a/libc/include/stdint.h b/libc/include/stdint.h index e7e88701..ab42759e 100644 --- a/libc/include/stdint.h +++ b/libc/include/stdint.h @@ -36,4 +36,3 @@ __BEGIN_DECLS __END_DECLS #endif - diff --git a/libc/include/sys/kernelinfo.h b/libc/include/sys/kernelinfo.h index 16d3d8e5..f9d0ed19 100644 --- a/libc/include/sys/kernelinfo.h +++ b/libc/include/sys/kernelinfo.h @@ -37,4 +37,3 @@ ssize_t kernelinfo(const char* req, char* resp, size_t resplen); __END_DECLS #endif - diff --git a/libc/include/sys/mman.h b/libc/include/sys/mman.h index 9d141a31..4e9266af 100644 --- a/libc/include/sys/mman.h +++ b/libc/include/sys/mman.h @@ -33,4 +33,3 @@ __BEGIN_DECLS __END_DECLS #endif - diff --git a/libc/include/sys/readdirents.h b/libc/include/sys/readdirents.h index 08ac0c77..83f58e3c 100644 --- a/libc/include/sys/readdirents.h +++ b/libc/include/sys/readdirents.h @@ -45,4 +45,3 @@ int readdirents(int fd, struct sortix_dirent* dirent, size_t size); __END_DECLS #endif - diff --git a/libc/include/sys/stat.h b/libc/include/sys/stat.h index 7fa0b843..6be90b6b 100644 --- a/libc/include/sys/stat.h +++ b/libc/include/sys/stat.h @@ -55,4 +55,3 @@ mode_t umask(mode_t mask); __END_DECLS #endif - diff --git a/libc/include/sys/types.h b/libc/include/sys/types.h index 5f3ab98c..efd8c0f1 100644 --- a/libc/include/sys/types.h +++ b/libc/include/sys/types.h @@ -59,4 +59,3 @@ __BEGIN_DECLS __END_DECLS #endif - diff --git a/libc/include/sys/wait.h b/libc/include/sys/wait.h index ed2e165e..07ffe791 100644 --- a/libc/include/sys/wait.h +++ b/libc/include/sys/wait.h @@ -45,4 +45,3 @@ pid_t waitpid(pid_t pid, int *stat_loc, int options); __END_DECLS #endif - diff --git a/libc/include/termios.h b/libc/include/termios.h index 2283376c..1b57ea1e 100644 --- a/libc/include/termios.h +++ b/libc/include/termios.h @@ -38,4 +38,3 @@ int tcgetwinsize(int fd, struct winsize* ws); __END_DECLS #endif - diff --git a/libc/include/unistd.h b/libc/include/unistd.h index 2adbeaa4..94950970 100644 --- a/libc/include/unistd.h +++ b/libc/include/unistd.h @@ -209,4 +209,3 @@ void* sbrk(intptr_t increment); __END_DECLS #endif - diff --git a/libc/include/wchar.h b/libc/include/wchar.h index f36a9c24..9a39ff24 100644 --- a/libc/include/wchar.h +++ b/libc/include/wchar.h @@ -149,4 +149,3 @@ wctype_t wctype(const char *); __END_DECLS #endif - diff --git a/libc/setjmp.c b/libc/setjmp.c index d4bd4179..4059a134 100644 --- a/libc/setjmp.c +++ b/libc/setjmp.c @@ -39,4 +39,3 @@ int setjmp(jmp_buf env) (void) env; return 0; } - diff --git a/libc/setlocale.cpp b/libc/setlocale.cpp index f11ae859..cfe0c316 100644 --- a/libc/setlocale.cpp +++ b/libc/setlocale.cpp @@ -60,4 +60,3 @@ extern "C" char* setlocale(int category, const char* locale) { return (char*) sortix_setlocale(category, locale); } - diff --git a/libc/sort.cpp b/libc/sort.cpp index affe1508..b33f29b5 100644 --- a/libc/sort.cpp +++ b/libc/sort.cpp @@ -59,4 +59,3 @@ extern "C" void qsort(void* base, size_t nmemb, size_t size, } } } - diff --git a/mkinitrd/initrdfs.cpp b/mkinitrd/initrdfs.cpp index 090b6bb8..c07c1a6c 100644 --- a/mkinitrd/initrdfs.cpp +++ b/mkinitrd/initrdfs.cpp @@ -348,4 +348,3 @@ int main(int argc, char* argv[]) return 0; } - diff --git a/mkinitrd/mkinitrd.cpp b/mkinitrd/mkinitrd.cpp index 9c251b65..5ee47cb9 100644 --- a/mkinitrd/mkinitrd.cpp +++ b/mkinitrd/mkinitrd.cpp @@ -536,4 +536,3 @@ int main(int argc, char* argv[]) return 0; } - diff --git a/sortix/calltrace.cpp b/sortix/calltrace.cpp index 325d6d89..60242d31 100644 --- a/sortix/calltrace.cpp +++ b/sortix/calltrace.cpp @@ -42,4 +42,3 @@ void Perform() } // namespace Calltrace } // namespace Sortix - diff --git a/sortix/calltrace.h b/sortix/calltrace.h index 34a16591..d235b9e7 100644 --- a/sortix/calltrace.h +++ b/sortix/calltrace.h @@ -32,4 +32,3 @@ void Perform(); } // namespace Sortix #endif - diff --git a/sortix/com.cpp b/sortix/com.cpp index 064b9e00..88da7b30 100644 --- a/sortix/com.cpp +++ b/sortix/com.cpp @@ -502,4 +502,3 @@ void Init() } // namespace COM } // namespace Sortix - diff --git a/sortix/descriptors.cpp b/sortix/descriptors.cpp index 55ec36fc..d961fb94 100644 --- a/sortix/descriptors.cpp +++ b/sortix/descriptors.cpp @@ -193,4 +193,3 @@ namespace Sortix return devices[index].path; } } - diff --git a/sortix/descriptors.h b/sortix/descriptors.h index a4d1637d..0eeda38c 100644 --- a/sortix/descriptors.h +++ b/sortix/descriptors.h @@ -70,4 +70,3 @@ namespace Sortix } #endif - diff --git a/sortix/device.cpp b/sortix/device.cpp index d8d1b59b..63a9445a 100644 --- a/sortix/device.cpp +++ b/sortix/device.cpp @@ -56,4 +56,3 @@ namespace Sortix refcount++; } } - diff --git a/sortix/device.h b/sortix/device.h index 65a4fdbf..aa531cd5 100644 --- a/sortix/device.h +++ b/sortix/device.h @@ -58,4 +58,3 @@ namespace Sortix } #endif - diff --git a/sortix/directory.cpp b/sortix/directory.cpp index 3389814e..76097dc9 100644 --- a/sortix/directory.cpp +++ b/sortix/directory.cpp @@ -210,5 +210,3 @@ namespace Sortix } } } - - diff --git a/sortix/directory.h b/sortix/directory.h index 4dfa7381..2e2c6ee3 100644 --- a/sortix/directory.h +++ b/sortix/directory.h @@ -62,4 +62,3 @@ namespace Sortix } #endif - diff --git a/sortix/elf.cpp b/sortix/elf.cpp index d1060e32..bb33041d 100644 --- a/sortix/elf.cpp +++ b/sortix/elf.cpp @@ -251,4 +251,3 @@ namespace Sortix } } } - diff --git a/sortix/end.cpp b/sortix/end.cpp index 471089f3..b1088c9c 100644 --- a/sortix/end.cpp +++ b/sortix/end.cpp @@ -30,4 +30,3 @@ namespace Sortix { size_t end; // Put in the bss, the last segment. } - diff --git a/sortix/filesystem.cpp b/sortix/filesystem.cpp index 96cd60a2..0b4d6caf 100644 --- a/sortix/filesystem.cpp +++ b/sortix/filesystem.cpp @@ -318,5 +318,3 @@ namespace Sortix return true; } } - - diff --git a/sortix/filesystem.h b/sortix/filesystem.h index 7b8a9e50..92742d08 100644 --- a/sortix/filesystem.h +++ b/sortix/filesystem.h @@ -74,4 +74,3 @@ namespace Sortix } #endif - diff --git a/sortix/fs/devfs.cpp b/sortix/fs/devfs.cpp index 12a04a1b..1b161f07 100644 --- a/sortix/fs/devfs.cpp +++ b/sortix/fs/devfs.cpp @@ -401,4 +401,3 @@ namespace Sortix return false; } } - diff --git a/sortix/fs/devfs.h b/sortix/fs/devfs.h index afd2f1aa..d8424475 100644 --- a/sortix/fs/devfs.h +++ b/sortix/fs/devfs.h @@ -63,4 +63,3 @@ namespace Sortix } #endif - diff --git a/sortix/fs/initfs.cpp b/sortix/fs/initfs.cpp index b1ee0aa8..d735af43 100644 --- a/sortix/fs/initfs.cpp +++ b/sortix/fs/initfs.cpp @@ -247,4 +247,3 @@ namespace Sortix return false; } } - diff --git a/sortix/fs/initfs.h b/sortix/fs/initfs.h index d7fcfd17..4f7b38ab 100644 --- a/sortix/fs/initfs.h +++ b/sortix/fs/initfs.h @@ -46,4 +46,3 @@ namespace Sortix } #endif - diff --git a/sortix/fs/ramfs.cpp b/sortix/fs/ramfs.cpp index 7b7874f7..0f80b4e2 100644 --- a/sortix/fs/ramfs.cpp +++ b/sortix/fs/ramfs.cpp @@ -367,4 +367,3 @@ namespace Sortix return file->name; } } - diff --git a/sortix/fs/ramfs.h b/sortix/fs/ramfs.h index c5d715bf..3ff88e29 100644 --- a/sortix/fs/ramfs.h +++ b/sortix/fs/ramfs.h @@ -57,4 +57,3 @@ namespace Sortix } #endif - diff --git a/sortix/fs/util.cpp b/sortix/fs/util.cpp index 924d24ce..677c4cbe 100644 --- a/sortix/fs/util.cpp +++ b/sortix/fs/util.cpp @@ -213,4 +213,3 @@ bool DevMemoryBuffer::IsWritable() } } // namespace Sortix - diff --git a/sortix/include/sortix/fcntl.h b/sortix/include/sortix/fcntl.h index c43791c5..09809825 100644 --- a/sortix/include/sortix/fcntl.h +++ b/sortix/include/sortix/fcntl.h @@ -55,4 +55,3 @@ __BEGIN_DECLS __END_DECLS #endif - diff --git a/sortix/include/sortix/initrd.h b/sortix/include/sortix/initrd.h index db370157..f06b3ab7 100644 --- a/sortix/include/sortix/initrd.h +++ b/sortix/include/sortix/initrd.h @@ -99,4 +99,3 @@ typedef struct initrd_dirent __END_DECLS #endif - diff --git a/sortix/include/sortix/kernel/kthread.h b/sortix/include/sortix/kernel/kthread.h index cdc9f69f..52ce299d 100644 --- a/sortix/include/sortix/kernel/kthread.h +++ b/sortix/include/sortix/kernel/kthread.h @@ -102,4 +102,3 @@ private: } // namespace Sortix #endif - diff --git a/sortix/include/sortix/kernel/memorymanagement.h b/sortix/include/sortix/kernel/memorymanagement.h index d02f5e12..319e1cc8 100644 --- a/sortix/include/sortix/kernel/memorymanagement.h +++ b/sortix/include/sortix/kernel/memorymanagement.h @@ -93,4 +93,3 @@ namespace Sortix } #endif - diff --git a/sortix/include/sortix/kernel/panic.h b/sortix/include/sortix/kernel/panic.h index 2cae0207..6e20f396 100644 --- a/sortix/include/sortix/kernel/panic.h +++ b/sortix/include/sortix/kernel/panic.h @@ -39,4 +39,3 @@ namespace Sortix #endif - diff --git a/sortix/include/sortix/kernel/pci.h b/sortix/include/sortix/kernel/pci.h index 6867d66f..e74965b9 100644 --- a/sortix/include/sortix/kernel/pci.h +++ b/sortix/include/sortix/kernel/pci.h @@ -72,4 +72,3 @@ addr_t ParseDevBar0(uint32_t devaddr); } // namespace Sortix #endif - diff --git a/sortix/include/sortix/keycodes.h b/sortix/include/sortix/keycodes.h index ae86053f..a745355b 100644 --- a/sortix/include/sortix/keycodes.h +++ b/sortix/include/sortix/keycodes.h @@ -166,4 +166,3 @@ }) #endif - diff --git a/sortix/include/sortix/seek.h b/sortix/include/sortix/seek.h index c7a54c5c..b3ffdbed 100644 --- a/sortix/include/sortix/seek.h +++ b/sortix/include/sortix/seek.h @@ -36,4 +36,3 @@ __BEGIN_DECLS __END_DECLS #endif - diff --git a/sortix/include/sortix/signal.h b/sortix/include/sortix/signal.h index 07a449c6..f36b6d81 100644 --- a/sortix/include/sortix/signal.h +++ b/sortix/include/sortix/signal.h @@ -76,4 +76,3 @@ __BEGIN_DECLS __END_DECLS #endif - diff --git a/sortix/include/sortix/stat.h b/sortix/include/sortix/stat.h index 0e88bd7b..d08ad32e 100644 --- a/sortix/include/sortix/stat.h +++ b/sortix/include/sortix/stat.h @@ -82,4 +82,3 @@ struct stat __END_DECLS #endif - diff --git a/sortix/include/sortix/termios.h b/sortix/include/sortix/termios.h index b26f0566..be7a5390 100644 --- a/sortix/include/sortix/termios.h +++ b/sortix/include/sortix/termios.h @@ -40,4 +40,3 @@ struct winsize __END_DECLS #endif - diff --git a/sortix/include/sortix/termmode.h b/sortix/include/sortix/termmode.h index c76f554a..9abdf878 100644 --- a/sortix/include/sortix/termmode.h +++ b/sortix/include/sortix/termmode.h @@ -34,4 +34,3 @@ #define TERMMODE_NONBLOCK (1U<<6U) #endif - diff --git a/sortix/include/sortix/timeval.h b/sortix/include/sortix/timeval.h index 2e91239d..e52f20c9 100644 --- a/sortix/include/sortix/timeval.h +++ b/sortix/include/sortix/timeval.h @@ -38,4 +38,3 @@ struct timeval __END_DECLS #endif - diff --git a/sortix/include/sortix/unistd.h b/sortix/include/sortix/unistd.h index 074ebe49..a2a8fc22 100644 --- a/sortix/include/sortix/unistd.h +++ b/sortix/include/sortix/unistd.h @@ -37,4 +37,3 @@ __BEGIN_DECLS __END_DECLS #endif - diff --git a/sortix/include/sortix/vga.h b/sortix/include/sortix/vga.h index 2c0dcf19..79345740 100644 --- a/sortix/include/sortix/vga.h +++ b/sortix/include/sortix/vga.h @@ -49,4 +49,3 @@ __BEGIN_DECLS __END_DECLS #endif - diff --git a/sortix/include/sortix/x64/bits.h b/sortix/include/sortix/x64/bits.h index dcdf865f..76adf84c 100644 --- a/sortix/include/sortix/x64/bits.h +++ b/sortix/include/sortix/x64/bits.h @@ -153,4 +153,3 @@ typedef long __time_t; typedef long __suseconds_t; #endif - diff --git a/sortix/include/sortix/x64/fork.h b/sortix/include/sortix/x64/fork.h index 44d63b52..0e28dae3 100644 --- a/sortix/include/sortix/x64/fork.h +++ b/sortix/include/sortix/x64/fork.h @@ -54,4 +54,3 @@ struct tforkregs_x64 __END_DECLS #endif - diff --git a/sortix/include/sortix/x86/bits.h b/sortix/include/sortix/x86/bits.h index 921b813e..36505317 100644 --- a/sortix/include/sortix/x86/bits.h +++ b/sortix/include/sortix/x86/bits.h @@ -153,4 +153,3 @@ typedef long __time_t; typedef long __suseconds_t; #endif - diff --git a/sortix/include/sortix/x86/fork.h b/sortix/include/sortix/x86/fork.h index 259f1a8c..f6492c18 100644 --- a/sortix/include/sortix/x86/fork.h +++ b/sortix/include/sortix/x86/fork.h @@ -46,4 +46,3 @@ struct tforkregs_x86 __END_DECLS #endif - diff --git a/sortix/interrupt.cpp b/sortix/interrupt.cpp index 1b674b98..0674e224 100644 --- a/sortix/interrupt.cpp +++ b/sortix/interrupt.cpp @@ -415,4 +415,3 @@ bool ScheduleWork(WorkHandler handler, void* payload, size_t payloadsize) } // namespace Interrupt } // namespace Sortix - diff --git a/sortix/interrupt.h b/sortix/interrupt.h index 8f93d77f..345ad689 100644 --- a/sortix/interrupt.h +++ b/sortix/interrupt.h @@ -131,4 +131,3 @@ extern "C" void irq15(); extern "C" void interrupt_handler_null(); #endif - diff --git a/sortix/io.h b/sortix/io.h index 164b6a6a..e33af101 100644 --- a/sortix/io.h +++ b/sortix/io.h @@ -34,4 +34,3 @@ namespace Sortix } #endif - diff --git a/sortix/kb/layout/us.cpp b/sortix/kb/layout/us.cpp index 1108013f..44e8c6ef 100644 --- a/sortix/kb/layout/us.cpp +++ b/sortix/kb/layout/us.cpp @@ -159,4 +159,3 @@ namespace Sortix return LAYOUT_US[index]; } } - diff --git a/sortix/kb/layout/us.h b/sortix/kb/layout/us.h index 18d31353..acf067ea 100644 --- a/sortix/kb/layout/us.h +++ b/sortix/kb/layout/us.h @@ -46,4 +46,3 @@ namespace Sortix } #endif - diff --git a/sortix/kb/ps2.cpp b/sortix/kb/ps2.cpp index f7e6a1db..4c5c2e39 100644 --- a/sortix/kb/ps2.cpp +++ b/sortix/kb/ps2.cpp @@ -224,4 +224,3 @@ namespace Sortix return queueused; } } - diff --git a/sortix/kb/ps2.h b/sortix/kb/ps2.h index 840baf2f..2e01d1be 100644 --- a/sortix/kb/ps2.h +++ b/sortix/kb/ps2.h @@ -69,4 +69,3 @@ namespace Sortix } #endif - diff --git a/sortix/kernelinfo.cpp b/sortix/kernelinfo.cpp index fc55c013..131039ca 100644 --- a/sortix/kernelinfo.cpp +++ b/sortix/kernelinfo.cpp @@ -64,4 +64,3 @@ void Init() } // namespace Info } // namespace Sortix - diff --git a/sortix/kernelinfo.h b/sortix/kernelinfo.h index 78f1741c..ebd917e3 100644 --- a/sortix/kernelinfo.h +++ b/sortix/kernelinfo.h @@ -35,4 +35,3 @@ void Init(); } // namespace Sortix #endif - diff --git a/sortix/keyboard.cpp b/sortix/keyboard.cpp index 90c2d06a..e0972106 100644 --- a/sortix/keyboard.cpp +++ b/sortix/keyboard.cpp @@ -46,4 +46,3 @@ namespace Sortix if ( !tty ) { Panic("Could not allocate a simple terminal"); } } } - diff --git a/sortix/keyboard.h b/sortix/keyboard.h index da8e4b36..61d908ee 100644 --- a/sortix/keyboard.h +++ b/sortix/keyboard.h @@ -59,4 +59,3 @@ namespace Sortix } #endif - diff --git a/sortix/linebuffer.cpp b/sortix/linebuffer.cpp index 3dbea39f..37893b46 100644 --- a/sortix/linebuffer.cpp +++ b/sortix/linebuffer.cpp @@ -119,4 +119,3 @@ namespace Sortix return bufferused - bufferfrozen; } } - diff --git a/sortix/linebuffer.h b/sortix/linebuffer.h index 8c84e3c8..7ebf9080 100644 --- a/sortix/linebuffer.h +++ b/sortix/linebuffer.h @@ -55,4 +55,3 @@ namespace Sortix } #endif - diff --git a/sortix/logterminal.h b/sortix/logterminal.h index cb4a9659..000e7efa 100644 --- a/sortix/logterminal.h +++ b/sortix/logterminal.h @@ -83,4 +83,3 @@ namespace Sortix } #endif - diff --git a/sortix/mount.h b/sortix/mount.h index e5ed7040..0f9f961e 100644 --- a/sortix/mount.h +++ b/sortix/mount.h @@ -38,4 +38,3 @@ namespace Sortix } #endif - diff --git a/sortix/multiboot.h b/sortix/multiboot.h index 937fcb06..d17e1dcc 100644 --- a/sortix/multiboot.h +++ b/sortix/multiboot.h @@ -221,4 +221,3 @@ typedef struct multiboot_mod_list multiboot_module_t; #endif /* ! ASM_FILE */ #endif /* ! MULTIBOOT_HEADER */ - diff --git a/sortix/pipe.h b/sortix/pipe.h index 11faee2c..f142f87f 100644 --- a/sortix/pipe.h +++ b/sortix/pipe.h @@ -37,4 +37,3 @@ namespace Sortix } #endif - diff --git a/sortix/process.h b/sortix/process.h index 77a8f1de..37f076f2 100644 --- a/sortix/process.h +++ b/sortix/process.h @@ -152,4 +152,3 @@ namespace Sortix } #endif - diff --git a/sortix/serialterminal.h b/sortix/serialterminal.h index 49bb94e0..2678b80e 100644 --- a/sortix/serialterminal.h +++ b/sortix/serialterminal.h @@ -38,4 +38,3 @@ namespace Sortix } #endif - diff --git a/sortix/signal.h b/sortix/signal.h index e3f6d2eb..fe76410d 100644 --- a/sortix/signal.h +++ b/sortix/signal.h @@ -60,4 +60,3 @@ inline bool IsPending() { return asm_signal_is_pending != 0; } } // namespace Sortix #endif - diff --git a/sortix/sound.cpp b/sortix/sound.cpp index 581ca41b..f716b1df 100644 --- a/sortix/sound.cpp +++ b/sortix/sound.cpp @@ -71,4 +71,3 @@ namespace Sortix } } } - diff --git a/sortix/sound.h b/sortix/sound.h index 49c6f853..15e3a0f0 100644 --- a/sortix/sound.h +++ b/sortix/sound.h @@ -36,4 +36,3 @@ namespace Sortix } #endif - diff --git a/sortix/stream.h b/sortix/stream.h index be0359ed..bc2948d9 100644 --- a/sortix/stream.h +++ b/sortix/stream.h @@ -67,4 +67,3 @@ namespace Sortix } #endif - diff --git a/sortix/syscall.cpp b/sortix/syscall.cpp index a9251497..074cc212 100644 --- a/sortix/syscall.cpp +++ b/sortix/syscall.cpp @@ -68,4 +68,3 @@ namespace Sortix } } } - diff --git a/sortix/syscall.h b/sortix/syscall.h index a2d20424..18daf1a3 100644 --- a/sortix/syscall.h +++ b/sortix/syscall.h @@ -42,4 +42,3 @@ namespace Sortix extern "C" void syscall_handler(); #endif - diff --git a/sortix/terminal.cpp b/sortix/terminal.cpp index a06eeb18..3c9bfcd2 100644 --- a/sortix/terminal.cpp +++ b/sortix/terminal.cpp @@ -87,4 +87,3 @@ namespace Sortix Syscall::Register(SYSCALL_TCGETWINSIZE, (void*) SysTCGetWinSize); } } - diff --git a/sortix/terminal.h b/sortix/terminal.h index 9d672145..c6a82278 100644 --- a/sortix/terminal.h +++ b/sortix/terminal.h @@ -59,4 +59,3 @@ namespace Sortix } } #endif - diff --git a/sortix/thread.h b/sortix/thread.h index bcebb3d4..af9a6dd1 100644 --- a/sortix/thread.h +++ b/sortix/thread.h @@ -143,4 +143,3 @@ namespace Sortix } #endif - diff --git a/sortix/time.h b/sortix/time.h index f2167697..8e6a0105 100644 --- a/sortix/time.h +++ b/sortix/time.h @@ -40,4 +40,3 @@ namespace Sortix } #endif - diff --git a/sortix/uart.h b/sortix/uart.h index 4984e4e4..9e306a6e 100644 --- a/sortix/uart.h +++ b/sortix/uart.h @@ -42,4 +42,3 @@ namespace Sortix } #endif - diff --git a/sortix/utf8.cpp b/sortix/utf8.cpp index f7f07791..412cf8c0 100644 --- a/sortix/utf8.cpp +++ b/sortix/utf8.cpp @@ -71,4 +71,3 @@ namespace Sortix } } } - diff --git a/sortix/utf8.h b/sortix/utf8.h index 730c449f..07253a93 100644 --- a/sortix/utf8.h +++ b/sortix/utf8.h @@ -34,4 +34,3 @@ namespace Sortix } #endif - diff --git a/sortix/vga.h b/sortix/vga.h index 66ce9c75..c7161b33 100644 --- a/sortix/vga.h +++ b/sortix/vga.h @@ -73,4 +73,3 @@ public: } // namespace Sortix #endif - diff --git a/sortix/x64/gdt.s b/sortix/x64/gdt.s index ce439bcb..7e2469df 100644 --- a/sortix/x64/gdt.s +++ b/sortix/x64/gdt.s @@ -62,4 +62,3 @@ tss_flush: GDT_FLUSH_POSTJMP: .long gdt_flush_postjmp .word 0x08 # 0x08 is the offset to our code segment - diff --git a/sortix/x64/x64.h b/sortix/x64/x64.h index 56ef2f14..c6200513 100644 --- a/sortix/x64/x64.h +++ b/sortix/x64/x64.h @@ -56,4 +56,3 @@ namespace Sortix } #endif - diff --git a/sortix/x86-family/gdt.cpp b/sortix/x86-family/gdt.cpp index cff71250..8b2fd34e 100644 --- a/sortix/x86-family/gdt.cpp +++ b/sortix/x86-family/gdt.cpp @@ -158,4 +158,3 @@ namespace Sortix } } } - diff --git a/sortix/x86-family/gdt.h b/sortix/x86-family/gdt.h index a30d4558..b05ea11a 100644 --- a/sortix/x86-family/gdt.h +++ b/sortix/x86-family/gdt.h @@ -125,4 +125,3 @@ namespace Sortix } #endif - diff --git a/sortix/x86-family/idt.cpp b/sortix/x86-family/idt.cpp index f8846706..a96494cb 100644 --- a/sortix/x86-family/idt.cpp +++ b/sortix/x86-family/idt.cpp @@ -63,4 +63,3 @@ namespace Sortix } } } - diff --git a/sortix/x86-family/idt.h b/sortix/x86-family/idt.h index 2441937a..59bbeaf5 100644 --- a/sortix/x86-family/idt.h +++ b/sortix/x86-family/idt.h @@ -75,4 +75,3 @@ namespace Sortix } #endif - diff --git a/sortix/x86-family/memorymanagement.cpp b/sortix/x86-family/memorymanagement.cpp index b3c52b0d..3a62fe33 100644 --- a/sortix/x86-family/memorymanagement.cpp +++ b/sortix/x86-family/memorymanagement.cpp @@ -765,4 +765,3 @@ namespace Sortix } } } - diff --git a/sortix/x86-family/x86-family.h b/sortix/x86-family/x86-family.h index e2e0ba2a..ca5be8a7 100644 --- a/sortix/x86-family/x86-family.h +++ b/sortix/x86-family/x86-family.h @@ -63,4 +63,3 @@ namespace Sortix } #endif - diff --git a/sortix/x86/x86.h b/sortix/x86/x86.h index 0990d434..c1334847 100644 --- a/sortix/x86/x86.h +++ b/sortix/x86/x86.h @@ -55,4 +55,3 @@ namespace Sortix } #endif - diff --git a/utils/cat.cpp b/utils/cat.cpp index df7f871d..3d7a4406 100644 --- a/utils/cat.cpp +++ b/utils/cat.cpp @@ -107,4 +107,3 @@ int main(int argc, char* argv[]) return result; } - diff --git a/utils/column.cpp b/utils/column.cpp index 31614b96..91567582 100644 --- a/utils/column.cpp +++ b/utils/column.cpp @@ -183,4 +183,3 @@ int main(int argc, char* argv[]) if ( !doformat() ) { exit(1); } return 0; } - diff --git a/utils/head.cpp b/utils/head.cpp index ce42915a..7bd1926c 100644 --- a/utils/head.cpp +++ b/utils/head.cpp @@ -22,4 +22,3 @@ #define HEAD #include "tail.cpp" - diff --git a/utils/init.cpp b/utils/init.cpp index 76e51921..5097ccc6 100644 --- a/utils/init.cpp +++ b/utils/init.cpp @@ -79,4 +79,3 @@ int main(int /*argc*/, char* /*argv*/[]) return runsystem(); } - diff --git a/utils/ls.cpp b/utils/ls.cpp index b8db290f..fc91e819 100644 --- a/utils/ls.cpp +++ b/utils/ls.cpp @@ -308,4 +308,3 @@ int main(int argc, char* argv[]) return result; } - diff --git a/utils/mxsh.cpp b/utils/mxsh.cpp index 470b6a1c..021a45a4 100644 --- a/utils/mxsh.cpp +++ b/utils/mxsh.cpp @@ -382,4 +382,3 @@ int main(int /*argc*/, char* argv[]) updatepwd(); while ( true ) { get_and_run_command(); } } - diff --git a/utils/pwd.cpp b/utils/pwd.cpp index ca792b07..edccae10 100644 --- a/utils/pwd.cpp +++ b/utils/pwd.cpp @@ -31,4 +31,3 @@ int main(int /*argc*/, char* /*argv*/[]) printf("%s\n", wd); return 0; } - diff --git a/utils/tail.cpp b/utils/tail.cpp index 56171eea..44c240ea 100644 --- a/utils/tail.cpp +++ b/utils/tail.cpp @@ -200,4 +200,3 @@ int main(int argc, char* argv[]) return 0; } - diff --git a/utils/type.cpp b/utils/type.cpp index b6ebd8bc..be32eb2a 100644 --- a/utils/type.cpp +++ b/utils/type.cpp @@ -96,4 +96,3 @@ int main(int argc, char* argv[]) return 0; } - diff --git a/utils/uname.cpp b/utils/uname.cpp index 200e6564..3b580997 100644 --- a/utils/uname.cpp +++ b/utils/uname.cpp @@ -202,4 +202,3 @@ int main(int argc, char* argv[]) printf("\n"); return 0; } -