1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00

[debug] compilation fixes for -Dwithdebug=true

This commit is contained in:
Witold Filipczyk 2023-10-23 15:56:53 +02:00
parent f12134c2cf
commit 7185d705de
4 changed files with 18 additions and 14 deletions

View File

@ -4,6 +4,14 @@
#include "config.h" #include "config.h"
#endif #endif
#include "elinks.h"
#include "ecmascript/libdom/mujs/mapa.h"
#include "ecmascript/mujs.h"
#include "ecmascript/mujs/xhr.h"
#include "util/memory.h"
#include "util/string.h"
#include <cstddef> #include <cstddef>
#include <iostream> #include <iostream>
#include <map> #include <map>
@ -11,12 +19,6 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "ecmascript/libdom/mujs/mapa.h"
#include "ecmascript/mujs.h"
#include "ecmascript/mujs/xhr.h"
#include "util/memory.h"
#include "util/string.h"
void void
attr_save_in_map(void *m, void *node, void *value) attr_save_in_map(void *m, void *node, void *value)
{ {

View File

@ -4,6 +4,14 @@
#include "config.h" #include "config.h"
#endif #endif
#include "elinks.h"
#include "ecmascript/libdom/quickjs/mapa.h"
#include "ecmascript/quickjs.h"
#include "ecmascript/quickjs/xhr.h"
#include "util/memory.h"
#include "util/string.h"
#include <cstddef> #include <cstddef>
#include <iostream> #include <iostream>
#include <map> #include <map>
@ -11,12 +19,6 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "ecmascript/libdom/quickjs/mapa.h"
#include "ecmascript/quickjs.h"
#include "ecmascript/quickjs/xhr.h"
#include "util/memory.h"
#include "util/string.h"
void void
attr_save_in_map(void *m, void *node, JSValueConst value) attr_save_in_map(void *m, void *node, JSValueConst value)
{ {

View File

@ -182,7 +182,7 @@ add_empty_window(struct terminal *term, void (*fn)(void *), void *data)
add_window(term, empty_window_handler, ewd); add_window(term, empty_window_handler, ewd);
} }
#if CONFIG_DEBUG #ifdef CONFIG_DEBUG
/** Check that terminal.windows are in the documented order. */ /** Check that terminal.windows are in the documented order. */
void void
assert_window_stacking(struct terminal *term) assert_window_stacking(struct terminal *term)

View File

@ -98,7 +98,7 @@ void get_parent_ptr(struct window *, int *, int *);
void add_empty_window(struct terminal *, void (*)(void *), void *); void add_empty_window(struct terminal *, void (*)(void *), void *);
#if CONFIG_DEBUG #ifdef CONFIG_DEBUG
void assert_window_stacking(struct terminal *); void assert_window_stacking(struct terminal *);
#else #else
#define assert_window_stacking(t) ((void) (t)) #define assert_window_stacking(t) ((void) (t))