--- a/include/stdlib.h Wed Sep 24 22:54:13 2014 +0300
+++ b/include/stdlib.h Wed Sep 24 23:49:12 2014 +0300
@@ -10,22 +10,22 @@
typedef volatile uint8_t ioport_t;
-static inline ioport_t tbi(ioport_t *port, int bit)
+static inline ioport_t tbi(ioport_t *port, byte bit)
{
return *port & (1 << bit);
}
-static inline void sbi(ioport_t *port, int bit)
+static inline void sbi(ioport_t *port, byte bit)
{
*port |= (1 << bit);
}
-static inline void cbi(ioport_t *port, int bit)
+static inline void cbi(ioport_t *port, byte bit)
{
*port &= ~(1 << bit);
}
-static inline void xbi(ioport_t *port, int bit)
+static inline void xbi(ioport_t *port, byte bit)
{
*port ^= (1 << bit);
}