include/stdlib.h
changeset 6 c5ab059eadc1
parent 4 959d4b9c3f0a
child 9 49643ef9d3d2
--- 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);
 }