Changed return value of read_port[_etc] from status_t to ssize_t. That's not how it is declared in R5, but it is what actually is returned.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10761 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2751025516
commit
7e3ac9f35f
@ -29,7 +29,7 @@ write_port(port_id port, int32 code, const void *buffer, size_t bufferSize)
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
ssize_t
|
||||
read_port(port_id port, int32 *code, void *buffer, size_t bufferSize)
|
||||
{
|
||||
return _kern_read_port_etc(port, code, buffer, bufferSize, 0, 0);
|
||||
@ -44,7 +44,7 @@ write_port_etc(port_id port, int32 code, const void *buffer, size_t bufferSize,
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
ssize_t
|
||||
read_port_etc(port_id port, int32 *code, void *buffer, size_t bufferSize,
|
||||
uint32 flags, bigtime_t timeout)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user