gcc4 build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25505 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
20993ed92e
commit
8f65f279f2
@ -162,7 +162,7 @@ uninit_driver()
|
||||
}
|
||||
|
||||
|
||||
static status_t
|
||||
extern "C" status_t
|
||||
usb_ecm_open(const char *name, uint32 flags, void **cookie)
|
||||
{
|
||||
TRACE("open(%s, %lu, %p)\n", name, flags, cookie);
|
||||
@ -181,7 +181,7 @@ usb_ecm_open(const char *name, uint32 flags, void **cookie)
|
||||
}
|
||||
|
||||
|
||||
static status_t
|
||||
extern "C" status_t
|
||||
usb_ecm_read(void *cookie, off_t position, void *buffer, size_t *numBytes)
|
||||
{
|
||||
TRACE("read(%p, %Ld, %p, %lu)\n", cookie, position, buffer, *numBytes);
|
||||
@ -190,7 +190,7 @@ usb_ecm_read(void *cookie, off_t position, void *buffer, size_t *numBytes)
|
||||
}
|
||||
|
||||
|
||||
static status_t
|
||||
extern "C" status_t
|
||||
usb_ecm_write(void *cookie, off_t position, const void *buffer,
|
||||
size_t *numBytes)
|
||||
{
|
||||
@ -200,7 +200,7 @@ usb_ecm_write(void *cookie, off_t position, const void *buffer,
|
||||
}
|
||||
|
||||
|
||||
static status_t
|
||||
extern "C" status_t
|
||||
usb_ecm_control(void *cookie, uint32 op, void *buffer, size_t length)
|
||||
{
|
||||
TRACE("control(%p, %lu, %p, %lu)\n", cookie, op, buffer, length);
|
||||
@ -209,7 +209,7 @@ usb_ecm_control(void *cookie, uint32 op, void *buffer, size_t length)
|
||||
}
|
||||
|
||||
|
||||
static status_t
|
||||
extern "C" status_t
|
||||
usb_ecm_close(void *cookie)
|
||||
{
|
||||
TRACE("close(%p)\n", cookie);
|
||||
@ -218,7 +218,7 @@ usb_ecm_close(void *cookie)
|
||||
}
|
||||
|
||||
|
||||
static status_t
|
||||
extern "C" status_t
|
||||
usb_ecm_free(void *cookie)
|
||||
{
|
||||
TRACE("free(%p)\n", cookie);
|
||||
|
Loading…
x
Reference in New Issue
Block a user