Fix trailing blank lines.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-10-13 18:03:34 +02:00
parent cea318a639
commit eb5be61d20
118 changed files with 0 additions and 120 deletions

View File

@ -285,4 +285,3 @@ int main(int argc, char* argv[])
return 0; return 0;
} }

View File

@ -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 int labs(long int val) { return Absolute(val); }
extern "C" long long int llabs(long 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); } extern "C" intmax_t imaxabs(intmax_t val) { return Absolute(val); }

View File

@ -100,4 +100,3 @@ int toupper(int c)
if ( 'a' <= c && c <= 'z' ) { return 'A' + c - 'a'; } if ( 'a' <= c && c <= 'z' ) { return 'A' + c - 'a'; }
return c; return c;
} }

View File

@ -147,4 +147,3 @@ int dcloseall(void)
while ( firstdir ) { result |= closedir(firstdir); } while ( firstdir ) { result |= closedir(firstdir); }
return (result) ? EOF : 0; return (result) ? EOF : 0;
} }

View File

@ -198,4 +198,3 @@ extern "C" int unsetenv(const char* name)
} }
return 0; return 0;
} }

View File

@ -137,4 +137,3 @@ DIR* opendir(const char* path)
if ( !dir ) { close(fd); return NULL; } if ( !dir ) { close(fd); return NULL; }
return dir; return dir;
} }

View File

@ -211,4 +211,3 @@ int remove(const char* pathname)
} }
return result; return result;
} }

View File

@ -35,4 +35,3 @@ FILE* fdio_newfile(int fd, const char* mode);
__END_DECLS __END_DECLS
#endif #endif

View File

@ -43,4 +43,3 @@ extern "C" char* fgets(char* dest, int size, FILE* fp)
dest[i] = '\0'; dest[i] = '\0';
return dest; return dest;
} }

View File

@ -50,4 +50,3 @@ int toupper(int c);
__END_DECLS __END_DECLS
#endif #endif

View File

@ -67,4 +67,3 @@ int openat(int fd, const char* path, int oflag, ...);
__END_DECLS __END_DECLS
#endif #endif

View File

@ -77,4 +77,3 @@ struct lconv* localeconv(void);
__END_DECLS __END_DECLS
#endif #endif

View File

@ -36,4 +36,3 @@ __BEGIN_DECLS
__END_DECLS __END_DECLS
#endif #endif

View File

@ -37,4 +37,3 @@ ssize_t kernelinfo(const char* req, char* resp, size_t resplen);
__END_DECLS __END_DECLS
#endif #endif

View File

@ -33,4 +33,3 @@ __BEGIN_DECLS
__END_DECLS __END_DECLS
#endif #endif

View File

@ -45,4 +45,3 @@ int readdirents(int fd, struct sortix_dirent* dirent, size_t size);
__END_DECLS __END_DECLS
#endif #endif

View File

@ -55,4 +55,3 @@ mode_t umask(mode_t mask);
__END_DECLS __END_DECLS
#endif #endif

View File

@ -59,4 +59,3 @@ __BEGIN_DECLS
__END_DECLS __END_DECLS
#endif #endif

View File

@ -45,4 +45,3 @@ pid_t waitpid(pid_t pid, int *stat_loc, int options);
__END_DECLS __END_DECLS
#endif #endif

View File

@ -38,4 +38,3 @@ int tcgetwinsize(int fd, struct winsize* ws);
__END_DECLS __END_DECLS
#endif #endif

View File

@ -209,4 +209,3 @@ void* sbrk(intptr_t increment);
__END_DECLS __END_DECLS
#endif #endif

View File

@ -149,4 +149,3 @@ wctype_t wctype(const char *);
__END_DECLS __END_DECLS
#endif #endif

View File

@ -39,4 +39,3 @@ int setjmp(jmp_buf env)
(void) env; (void) env;
return 0; return 0;
} }

View File

@ -60,4 +60,3 @@ extern "C" char* setlocale(int category, const char* locale)
{ {
return (char*) sortix_setlocale(category, locale); return (char*) sortix_setlocale(category, locale);
} }

View File

@ -59,4 +59,3 @@ extern "C" void qsort(void* base, size_t nmemb, size_t size,
} }
} }
} }

View File

@ -348,4 +348,3 @@ int main(int argc, char* argv[])
return 0; return 0;
} }

View File

@ -536,4 +536,3 @@ int main(int argc, char* argv[])
return 0; return 0;
} }

View File

@ -42,4 +42,3 @@ void Perform()
} // namespace Calltrace } // namespace Calltrace
} // namespace Sortix } // namespace Sortix

View File

@ -32,4 +32,3 @@ void Perform();
} // namespace Sortix } // namespace Sortix
#endif #endif

View File

@ -502,4 +502,3 @@ void Init()
} // namespace COM } // namespace COM
} // namespace Sortix } // namespace Sortix

View File

@ -193,4 +193,3 @@ namespace Sortix
return devices[index].path; return devices[index].path;
} }
} }

View File

@ -70,4 +70,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -56,4 +56,3 @@ namespace Sortix
refcount++; refcount++;
} }
} }

View File

@ -58,4 +58,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -210,5 +210,3 @@ namespace Sortix
} }
} }
} }

View File

@ -62,4 +62,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -251,4 +251,3 @@ namespace Sortix
} }
} }
} }

View File

@ -30,4 +30,3 @@ namespace Sortix
{ {
size_t end; // Put in the bss, the last segment. size_t end; // Put in the bss, the last segment.
} }

View File

@ -318,5 +318,3 @@ namespace Sortix
return true; return true;
} }
} }

View File

@ -74,4 +74,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -401,4 +401,3 @@ namespace Sortix
return false; return false;
} }
} }

View File

@ -63,4 +63,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -247,4 +247,3 @@ namespace Sortix
return false; return false;
} }
} }

View File

@ -46,4 +46,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -367,4 +367,3 @@ namespace Sortix
return file->name; return file->name;
} }
} }

View File

@ -57,4 +57,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -213,4 +213,3 @@ bool DevMemoryBuffer::IsWritable()
} }
} // namespace Sortix } // namespace Sortix

View File

@ -55,4 +55,3 @@ __BEGIN_DECLS
__END_DECLS __END_DECLS
#endif #endif

View File

@ -99,4 +99,3 @@ typedef struct initrd_dirent
__END_DECLS __END_DECLS
#endif #endif

View File

@ -102,4 +102,3 @@ private:
} // namespace Sortix } // namespace Sortix
#endif #endif

View File

@ -93,4 +93,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -39,4 +39,3 @@ namespace Sortix
#endif #endif

View File

@ -72,4 +72,3 @@ addr_t ParseDevBar0(uint32_t devaddr);
} // namespace Sortix } // namespace Sortix
#endif #endif

View File

@ -166,4 +166,3 @@
}) })
#endif #endif

View File

@ -36,4 +36,3 @@ __BEGIN_DECLS
__END_DECLS __END_DECLS
#endif #endif

View File

@ -76,4 +76,3 @@ __BEGIN_DECLS
__END_DECLS __END_DECLS
#endif #endif

View File

@ -82,4 +82,3 @@ struct stat
__END_DECLS __END_DECLS
#endif #endif

View File

@ -40,4 +40,3 @@ struct winsize
__END_DECLS __END_DECLS
#endif #endif

View File

@ -34,4 +34,3 @@
#define TERMMODE_NONBLOCK (1U<<6U) #define TERMMODE_NONBLOCK (1U<<6U)
#endif #endif

View File

@ -38,4 +38,3 @@ struct timeval
__END_DECLS __END_DECLS
#endif #endif

View File

@ -37,4 +37,3 @@ __BEGIN_DECLS
__END_DECLS __END_DECLS
#endif #endif

View File

@ -49,4 +49,3 @@ __BEGIN_DECLS
__END_DECLS __END_DECLS
#endif #endif

View File

@ -153,4 +153,3 @@ typedef long __time_t;
typedef long __suseconds_t; typedef long __suseconds_t;
#endif #endif

View File

@ -54,4 +54,3 @@ struct tforkregs_x64
__END_DECLS __END_DECLS
#endif #endif

View File

@ -153,4 +153,3 @@ typedef long __time_t;
typedef long __suseconds_t; typedef long __suseconds_t;
#endif #endif

View File

@ -46,4 +46,3 @@ struct tforkregs_x86
__END_DECLS __END_DECLS
#endif #endif

View File

@ -415,4 +415,3 @@ bool ScheduleWork(WorkHandler handler, void* payload, size_t payloadsize)
} // namespace Interrupt } // namespace Interrupt
} // namespace Sortix } // namespace Sortix

View File

@ -131,4 +131,3 @@ extern "C" void irq15();
extern "C" void interrupt_handler_null(); extern "C" void interrupt_handler_null();
#endif #endif

View File

@ -34,4 +34,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -159,4 +159,3 @@ namespace Sortix
return LAYOUT_US[index]; return LAYOUT_US[index];
} }
} }

View File

@ -46,4 +46,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -224,4 +224,3 @@ namespace Sortix
return queueused; return queueused;
} }
} }

View File

@ -69,4 +69,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -64,4 +64,3 @@ void Init()
} // namespace Info } // namespace Info
} // namespace Sortix } // namespace Sortix

View File

@ -35,4 +35,3 @@ void Init();
} // namespace Sortix } // namespace Sortix
#endif #endif

View File

@ -46,4 +46,3 @@ namespace Sortix
if ( !tty ) { Panic("Could not allocate a simple terminal"); } if ( !tty ) { Panic("Could not allocate a simple terminal"); }
} }
} }

View File

@ -59,4 +59,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -119,4 +119,3 @@ namespace Sortix
return bufferused - bufferfrozen; return bufferused - bufferfrozen;
} }
} }

View File

@ -55,4 +55,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -83,4 +83,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -38,4 +38,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -221,4 +221,3 @@ typedef struct multiboot_mod_list multiboot_module_t;
#endif /* ! ASM_FILE */ #endif /* ! ASM_FILE */
#endif /* ! MULTIBOOT_HEADER */ #endif /* ! MULTIBOOT_HEADER */

View File

@ -37,4 +37,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -152,4 +152,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -38,4 +38,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -60,4 +60,3 @@ inline bool IsPending() { return asm_signal_is_pending != 0; }
} // namespace Sortix } // namespace Sortix
#endif #endif

View File

@ -71,4 +71,3 @@ namespace Sortix
} }
} }
} }

View File

@ -36,4 +36,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -67,4 +67,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -68,4 +68,3 @@ namespace Sortix
} }
} }
} }

View File

@ -42,4 +42,3 @@ namespace Sortix
extern "C" void syscall_handler(); extern "C" void syscall_handler();
#endif #endif

View File

@ -87,4 +87,3 @@ namespace Sortix
Syscall::Register(SYSCALL_TCGETWINSIZE, (void*) SysTCGetWinSize); Syscall::Register(SYSCALL_TCGETWINSIZE, (void*) SysTCGetWinSize);
} }
} }

View File

@ -59,4 +59,3 @@ namespace Sortix
} }
} }
#endif #endif

View File

@ -143,4 +143,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -40,4 +40,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -42,4 +42,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -71,4 +71,3 @@ namespace Sortix
} }
} }
} }

View File

@ -34,4 +34,3 @@ namespace Sortix
} }
#endif #endif

View File

@ -73,4 +73,3 @@ public:
} // namespace Sortix } // namespace Sortix
#endif #endif

View File

@ -62,4 +62,3 @@ tss_flush:
GDT_FLUSH_POSTJMP: GDT_FLUSH_POSTJMP:
.long gdt_flush_postjmp .long gdt_flush_postjmp
.word 0x08 # 0x08 is the offset to our code segment .word 0x08 # 0x08 is the offset to our code segment

Some files were not shown because too many files have changed in this diff Show More