@@ -44,7 +44,7 @@ int fileno(FILE *stream);
int _printf(const char *format, ...) __attribute__((format (printf, 1, 2)));
#ifndef pr_fmt
-#define prfmt(fmt) fmt
+#define pr_fmt(fmt) fmt
#endif
#define printf(f, ...) do { _printf(pr_fmt(f), ##__VA_ARGS__); } while(0)
@@ -40,9 +40,9 @@
/*------------------------------------------------------------------------------*/
#define __P8_PORE_TABLE_GEN_API_C
+#include <p8_delta_scan_rw.h>
#include <p8_pore_api_custom.h>
#include <p8_pore_table_gen_api.H>
-#include <p8_delta_scan_rw.h>
/*
// io_image - pointer to SLW image
And change include order in libpore to avoid a compile failure due to the default definition Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> --- libc/include/stdio.h | 2 +- libpore/p8_pore_table_gen_api_fixed.C | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)