mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
Make bash-2.05b build with minimal changes.
This is really neat. :^)
This commit is contained in:
parent
2cf477a151
commit
9d05f6b7a7
35 changed files with 326 additions and 176 deletions
|
@ -1,5 +1,6 @@
|
|||
#include "time.h"
|
||||
#include "errno.h"
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
#include <assert.h>
|
||||
#include <Kernel/Syscall.h>
|
||||
|
||||
extern "C" {
|
||||
|
@ -26,4 +27,16 @@ char* ctime(const time_t*)
|
|||
return const_cast<char*>("ctime() not implemented");
|
||||
}
|
||||
|
||||
struct tm* localtime(const time_t*)
|
||||
{
|
||||
assert(false);
|
||||
}
|
||||
|
||||
long timezone = 0;
|
||||
|
||||
void tzset()
|
||||
{
|
||||
assert(false);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue