summaryrefslogtreecommitdiff
path: root/tools/checkwps/checkwps.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/checkwps/checkwps.c')
-rw-r--r--tools/checkwps/checkwps.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c
index 10e505f006..c2cadc7444 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -39,11 +39,14 @@ bool debug_wps = true;
39int wps_verbose_level = 0; 39int wps_verbose_level = 0;
40char *skin_buffer; 40char *skin_buffer;
41 41
42int errno; 42const char *sim_root_dir = ".";
43
44const struct settings_list *settings; 43const struct settings_list *settings;
45const int nb_settings = 0; 44const int nb_settings = 0;
46 45
46#ifdef SIMULATOR
47#error beep beep
48#endif
49
47/* static endianness conversion */ 50/* static endianness conversion */
48#define SWAP_16(x) ((typeof(x))(unsigned short)(((unsigned short)(x) >> 8) | \ 51#define SWAP_16(x) ((typeof(x))(unsigned short)(((unsigned short)(x) >> 8) | \
49 ((unsigned short)(x) << 8))) 52 ((unsigned short)(x) << 8)))