No really, _these_ should be the last occurences of CONFIG_ without
[coreboot.git] / payloads / libpayload / include / libpayload.h
index 188039e0f4632ac04bf3d9e351eecdd7657163a6..9e95291bc44891de2376383fbb7590e7717adc08 100644 (file)
 
 #define LITTLE_ENDIAN  1234
 #define BIG_ENDIAN     4321
-#ifdef CONFIG_TARGET_I386
-#define BYTE_ORDER     LITTLE_ENDIAN
-#else
-#define BYTE_ORDER     BIG_ENDIAN
-#endif
 
 #define EXIT_SUCCESS 0
 #define EXIT_FAILURE 1
@@ -178,7 +173,7 @@ u8 hex2bin(u8 h);
 void *memset(void *s, int c, size_t n);
 void *memcpy(void *dst, const void *src, size_t n);
 void *memmove(void *dst, const void *src, size_t n);
-int memcmp(const char *s1, const char *s2, size_t len);
+int memcmp(const void *s1, const void *s2, size_t len);
 
 /* libc/printf.c */
 int snprintf(char *str, size_t size, const char *fmt, ...);