eclair snapshot

This commit is contained in:
Jean-Baptiste Queru
2009-11-12 18:45:17 -08:00
parent 50992e805e
commit 2c8ead32c7
3250 changed files with 153970 additions and 72935 deletions

View File

@@ -99,6 +99,11 @@ static int noClose(FakeDev* dev, ...)
{
return 0;
}
static FakeDev* noDup(FakeDev* dev, ...)
{
notImplemented(dev, "dup");
return NULL;
}
static int noRead(FakeDev* dev, ...)
{
return notImplemented(dev, "read");
@@ -146,6 +151,7 @@ FakeDev* wsCreateFakeDev(const char* debugName)
newDev->state = NULL;
newDev->close = (Fake_close) noClose;
newDev->dup = (Fake_dup) noDup;
newDev->read = (Fake_read) noRead;
newDev->readv = (Fake_readv) noReadv;
newDev->write = (Fake_write) noWrite;