fix *nix function names for read and write

This commit is contained in:
Lysann Schlegel
2012-12-08 20:39:12 +01:00
parent 72647a56b1
commit 97513647de

View File

@@ -322,7 +322,7 @@ int wiiuse_os_poll(struct wiimote_t** wm, int wiimotes) {
return evnt;
}
int wiiuse_io_read(struct wiimote_t* wm, byte* buf, int len) {
int wiiuse_os_read(struct wiimote_t* wm, byte* buf, int len) {
int rc;
rc = read(wm->in_sock, buf, len);
@@ -333,7 +333,7 @@ int wiiuse_io_read(struct wiimote_t* wm, byte* buf, int len) {
return rc;
}
int wiiuse_io_write(struct wiimote_t* wm, byte* buf, int len) {
int wiiuse_os_write(struct wiimote_t* wm, byte* buf, int len) {
int rc;
rc = write(wm->out_sock, buf, len);