rename wiiuse_io_* to wiiuse_os_*

This commit is contained in:
Lysann Schlegel
2012-11-10 13:28:44 +01:00
parent f1c7a7712b
commit 6f6ba68ed6
11 changed files with 83 additions and 82 deletions

View File

@@ -37,6 +37,7 @@
#include "wiiuse_internal.h"
#include "io.h" /* for wiiuse_handshake, etc */
#include "os.h" /* for wiiuse_os_* */
#include <stdio.h> /* for printf, FILE */
#include <stdlib.h> /* for malloc, free */
@@ -706,9 +707,9 @@ int wiiuse_send(struct wiimote_t* wm, byte report_type, byte* msg, int len) {
#endif
#ifndef WIIUSE_WIN32
return wiiuse_io_write(wm, buf, len+2);
return wiiuse_os_write(wm, buf, len+2);
#else
return wiiuse_io_write(wm, buf, len+1);
return wiiuse_os_write(wm, buf, len+1);
#endif
}