Fix trailing blank lines.
This commit is contained in:
parent
cea318a639
commit
eb5be61d20
|
@ -285,4 +285,3 @@ int main(int argc, char* argv[])
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -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); }
|
||||
|
||||
|
|
|
@ -100,4 +100,3 @@ int toupper(int c)
|
|||
if ( 'a' <= c && c <= 'z' ) { return 'A' + c - 'a'; }
|
||||
return c;
|
||||
}
|
||||
|
||||
|
|
|
@ -147,4 +147,3 @@ int dcloseall(void)
|
|||
while ( firstdir ) { result |= closedir(firstdir); }
|
||||
return (result) ? EOF : 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -198,4 +198,3 @@ extern "C" int unsetenv(const char* name)
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -137,4 +137,3 @@ DIR* opendir(const char* path)
|
|||
if ( !dir ) { close(fd); return NULL; }
|
||||
return dir;
|
||||
}
|
||||
|
||||
|
|
|
@ -211,4 +211,3 @@ int remove(const char* pathname)
|
|||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
@ -35,4 +35,3 @@ FILE* fdio_newfile(int fd, const char* mode);
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -43,4 +43,3 @@ extern "C" char* fgets(char* dest, int size, FILE* fp)
|
|||
dest[i] = '\0';
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
|
|
@ -50,4 +50,3 @@ int toupper(int c);
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -67,4 +67,3 @@ int openat(int fd, const char* path, int oflag, ...);
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -77,4 +77,3 @@ struct lconv* localeconv(void);
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -36,4 +36,3 @@ __BEGIN_DECLS
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -37,4 +37,3 @@ ssize_t kernelinfo(const char* req, char* resp, size_t resplen);
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -33,4 +33,3 @@ __BEGIN_DECLS
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -45,4 +45,3 @@ int readdirents(int fd, struct sortix_dirent* dirent, size_t size);
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -55,4 +55,3 @@ mode_t umask(mode_t mask);
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -59,4 +59,3 @@ __BEGIN_DECLS
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -45,4 +45,3 @@ pid_t waitpid(pid_t pid, int *stat_loc, int options);
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -38,4 +38,3 @@ int tcgetwinsize(int fd, struct winsize* ws);
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -209,4 +209,3 @@ void* sbrk(intptr_t increment);
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -149,4 +149,3 @@ wctype_t wctype(const char *);
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -39,4 +39,3 @@ int setjmp(jmp_buf env)
|
|||
(void) env;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -60,4 +60,3 @@ extern "C" char* setlocale(int category, const char* locale)
|
|||
{
|
||||
return (char*) sortix_setlocale(category, locale);
|
||||
}
|
||||
|
||||
|
|
|
@ -59,4 +59,3 @@ extern "C" void qsort(void* base, size_t nmemb, size_t size,
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -348,4 +348,3 @@ int main(int argc, char* argv[])
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -536,4 +536,3 @@ int main(int argc, char* argv[])
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -42,4 +42,3 @@ void Perform()
|
|||
|
||||
} // namespace Calltrace
|
||||
} // namespace Sortix
|
||||
|
||||
|
|
|
@ -32,4 +32,3 @@ void Perform();
|
|||
} // namespace Sortix
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -502,4 +502,3 @@ void Init()
|
|||
|
||||
} // namespace COM
|
||||
} // namespace Sortix
|
||||
|
||||
|
|
|
@ -193,4 +193,3 @@ namespace Sortix
|
|||
return devices[index].path;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -70,4 +70,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -56,4 +56,3 @@ namespace Sortix
|
|||
refcount++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -58,4 +58,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -210,5 +210,3 @@ namespace Sortix
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -62,4 +62,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -251,4 +251,3 @@ namespace Sortix
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -30,4 +30,3 @@ namespace Sortix
|
|||
{
|
||||
size_t end; // Put in the bss, the last segment.
|
||||
}
|
||||
|
||||
|
|
|
@ -318,5 +318,3 @@ namespace Sortix
|
|||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -74,4 +74,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -401,4 +401,3 @@ namespace Sortix
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -63,4 +63,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -247,4 +247,3 @@ namespace Sortix
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -46,4 +46,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -367,4 +367,3 @@ namespace Sortix
|
|||
return file->name;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -57,4 +57,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -213,4 +213,3 @@ bool DevMemoryBuffer::IsWritable()
|
|||
}
|
||||
|
||||
} // namespace Sortix
|
||||
|
||||
|
|
|
@ -55,4 +55,3 @@ __BEGIN_DECLS
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -99,4 +99,3 @@ typedef struct initrd_dirent
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -102,4 +102,3 @@ private:
|
|||
} // namespace Sortix
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -93,4 +93,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -39,4 +39,3 @@ namespace Sortix
|
|||
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -72,4 +72,3 @@ addr_t ParseDevBar0(uint32_t devaddr);
|
|||
} // namespace Sortix
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -166,4 +166,3 @@
|
|||
})
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -36,4 +36,3 @@ __BEGIN_DECLS
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -76,4 +76,3 @@ __BEGIN_DECLS
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -82,4 +82,3 @@ struct stat
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -40,4 +40,3 @@ struct winsize
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -34,4 +34,3 @@
|
|||
#define TERMMODE_NONBLOCK (1U<<6U)
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -38,4 +38,3 @@ struct timeval
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -37,4 +37,3 @@ __BEGIN_DECLS
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -49,4 +49,3 @@ __BEGIN_DECLS
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -153,4 +153,3 @@ typedef long __time_t;
|
|||
typedef long __suseconds_t;
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -54,4 +54,3 @@ struct tforkregs_x64
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -153,4 +153,3 @@ typedef long __time_t;
|
|||
typedef long __suseconds_t;
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -46,4 +46,3 @@ struct tforkregs_x86
|
|||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -415,4 +415,3 @@ bool ScheduleWork(WorkHandler handler, void* payload, size_t payloadsize)
|
|||
|
||||
} // namespace Interrupt
|
||||
} // namespace Sortix
|
||||
|
||||
|
|
|
@ -131,4 +131,3 @@ extern "C" void irq15();
|
|||
extern "C" void interrupt_handler_null();
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -34,4 +34,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -159,4 +159,3 @@ namespace Sortix
|
|||
return LAYOUT_US[index];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -46,4 +46,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -224,4 +224,3 @@ namespace Sortix
|
|||
return queueused;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -69,4 +69,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -64,4 +64,3 @@ void Init()
|
|||
|
||||
} // namespace Info
|
||||
} // namespace Sortix
|
||||
|
||||
|
|
|
@ -35,4 +35,3 @@ void Init();
|
|||
} // namespace Sortix
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -46,4 +46,3 @@ namespace Sortix
|
|||
if ( !tty ) { Panic("Could not allocate a simple terminal"); }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -59,4 +59,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -119,4 +119,3 @@ namespace Sortix
|
|||
return bufferused - bufferfrozen;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -55,4 +55,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -83,4 +83,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -38,4 +38,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -221,4 +221,3 @@ typedef struct multiboot_mod_list multiboot_module_t;
|
|||
#endif /* ! ASM_FILE */
|
||||
|
||||
#endif /* ! MULTIBOOT_HEADER */
|
||||
|
||||
|
|
|
@ -37,4 +37,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -152,4 +152,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -38,4 +38,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -60,4 +60,3 @@ inline bool IsPending() { return asm_signal_is_pending != 0; }
|
|||
} // namespace Sortix
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -71,4 +71,3 @@ namespace Sortix
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -36,4 +36,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -67,4 +67,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -68,4 +68,3 @@ namespace Sortix
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -42,4 +42,3 @@ namespace Sortix
|
|||
extern "C" void syscall_handler();
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -87,4 +87,3 @@ namespace Sortix
|
|||
Syscall::Register(SYSCALL_TCGETWINSIZE, (void*) SysTCGetWinSize);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -59,4 +59,3 @@ namespace Sortix
|
|||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -143,4 +143,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -40,4 +40,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -42,4 +42,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -71,4 +71,3 @@ namespace Sortix
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -34,4 +34,3 @@ namespace Sortix
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -73,4 +73,3 @@ public:
|
|||
} // namespace Sortix
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -62,4 +62,3 @@ tss_flush:
|
|||
GDT_FLUSH_POSTJMP:
|
||||
.long gdt_flush_postjmp
|
||||
.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
Loading…
Reference in New Issue