]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/compiler.h
Blackfin: unify custom gpio commands
[karo-tx-uboot.git] / include / compiler.h
index 332618e9de9c04282433030c87b1b2272556ccb5..23f4b834d8df0fdf3d821c2d52deb9aff56a3cce 100644 (file)
@@ -25,8 +25,6 @@
 #include <stdio.h>
 #include <string.h>
 
-extern int errno;
-
 #if !defined(__WIN32__) && !defined(__MINGW32__)
 # include <sys/mman.h>
 #endif
@@ -55,6 +53,7 @@ typedef unsigned int  uint;
 typedef uint8_t __u8;
 typedef uint16_t __u16;
 typedef uint32_t __u32;
+typedef unsigned int uint;
 
 #define uswap_16(x) \
        ((((x) & 0xff00) >> 8) | \