From 97513647de271a4d0a25c43711a9ddc2a6950e14 Mon Sep 17 00:00:00 2001 From: Lysann Schlegel Date: Sat, 8 Dec 2012 20:39:12 +0100 Subject: [PATCH] fix *nix function names for read and write --- src/os_nix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/os_nix.c b/src/os_nix.c index 3cebe5d..69349b1 100644 --- a/src/os_nix.c +++ b/src/os_nix.c @@ -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);