removed TOS dependencies with (some shaky) replacements to make everything compile without TOS headers

This commit is contained in:
Markus Fröschle
2013-04-21 05:13:32 +00:00
parent 9b9caf98e4
commit a822d3f8f5
5 changed files with 881 additions and 819 deletions

View File

@@ -12,8 +12,6 @@
*/
#include "config.h"
#include <mint/errno.h>
#include <mint/osbind.h>
#include <string.h>
#include "usb.h"
@@ -182,6 +180,8 @@ static void freeit(MD *m, MPB *mp)
}
}
#define EFAULT -40
int usb_free(void *addr)
{
int level;