master hovercats/oakiss / pkg / netsurf / libdom / patch / 0001-Remove-empty-top-level-declarations.patch
  1From 64cefc96a96ea5cade24179ee17bc3dfb3c90187 Mon Sep 17 00:00:00 2001
  2From: Michael Forney <mforney@mforney.org>
  3Date: Mon, 1 Jul 2019 22:57:10 -0700
  4Subject: [PATCH] Remove empty top-level declarations
  5
  6---
  7 src/html/html_anchor_element.c       | 22 +++++++++++-----------
  8 src/html/html_applet_element.c       | 18 +++++++++---------
  9 src/html/html_area_element.c         | 12 ++++++------
 10 src/html/html_base_element.c         |  4 ++--
 11 src/html/html_basefont_element.c     |  4 ++--
 12 src/html/html_br_element.c           |  2 +-
 13 src/html/html_button_element.c       |  8 ++++----
 14 src/html/html_div_element.c          |  2 +-
 15 src/html/html_font_element.c         |  6 +++---
 16 src/html/html_frame_element.c        | 14 +++++++-------
 17 src/html/html_frameset_element.c     |  4 ++--
 18 src/html/html_heading_element.c      |  2 +-
 19 src/html/html_hr_element.c           |  6 +++---
 20 src/html/html_iframe_element.c       | 20 ++++++++++----------
 21 src/html/html_image_element.c        | 14 +++++++-------
 22 src/html/html_input_element.c        | 18 +++++++++---------
 23 src/html/html_isindex_element.c      |  2 +-
 24 src/html/html_label_element.c        |  4 ++--
 25 src/html/html_legend_element.c       |  4 ++--
 26 src/html/html_li_element.c           |  2 +-
 27 src/html/html_map_element.c          |  2 +-
 28 src/html/html_mod_element.c          |  4 ++--
 29 src/html/html_object_element.c       | 26 +++++++++++++-------------
 30 src/html/html_olist_element.c        |  2 +-
 31 src/html/html_opt_group_element.c    |  2 +-
 32 src/html/html_paragraph_element.c    |  2 +-
 33 src/html/html_param_element.c        |  8 ++++----
 34 src/html/html_quote_element.c        |  2 +-
 35 src/html/html_script_element.c       | 10 +++++-----
 36 src/html/html_style_element.c        |  4 ++--
 37 src/html/html_table_element.c        | 18 +++++++++---------
 38 src/html/html_tablecaption_element.c |  2 +-
 39 src/html/html_tablecell_element.c    | 22 +++++++++++-----------
 40 src/html/html_tablecol_element.c     | 10 +++++-----
 41 src/html/html_tablerow_element.c     | 10 +++++-----
 42 src/html/html_tablesection_element.c |  8 ++++----
 43 src/html/html_text_area_element.c    |  4 ++--
 44 src/html/html_ulist_element.c        |  2 +-
 45 38 files changed, 153 insertions(+), 153 deletions(-)
 46
 47diff --git a/src/html/html_anchor_element.c b/src/html/html_anchor_element.c
 48index 8d64c2b..8aa6a79 100644
 49--- a/src/html/html_anchor_element.c
 50+++ b/src/html/html_anchor_element.c
 51@@ -185,17 +185,17 @@ dom_exception dom_html_anchor_element_set_##attr(			\
 52 
 53 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 54 
 55-SIMPLE_GET_SET(access_key);
 56-SIMPLE_GET_SET(charset);
 57-SIMPLE_GET_SET(coords);
 58-SIMPLE_GET_SET(href);
 59-SIMPLE_GET_SET(hreflang);
 60-SIMPLE_GET_SET(name);
 61-SIMPLE_GET_SET(rel);
 62-SIMPLE_GET_SET(rev);
 63-SIMPLE_GET_SET(shape);
 64-SIMPLE_GET_SET(target);
 65-SIMPLE_GET_SET(type);
 66+SIMPLE_GET_SET(access_key)
 67+SIMPLE_GET_SET(charset)
 68+SIMPLE_GET_SET(coords)
 69+SIMPLE_GET_SET(href)
 70+SIMPLE_GET_SET(hreflang)
 71+SIMPLE_GET_SET(name)
 72+SIMPLE_GET_SET(rel)
 73+SIMPLE_GET_SET(rev)
 74+SIMPLE_GET_SET(shape)
 75+SIMPLE_GET_SET(target)
 76+SIMPLE_GET_SET(type)
 77 
 78 dom_exception dom_html_anchor_element_get_tab_index(
 79 	dom_html_anchor_element *anchor, int32_t *tab_index)
 80diff --git a/src/html/html_applet_element.c b/src/html/html_applet_element.c
 81index 93ea1b5..9451810 100644
 82--- a/src/html/html_applet_element.c
 83+++ b/src/html/html_applet_element.c
 84@@ -185,15 +185,15 @@ dom_exception _dom_html_applet_element_copy_internal(
 85 
 86 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 87 
 88-SIMPLE_GET_SET(align);
 89-SIMPLE_GET_SET(alt);
 90-SIMPLE_GET_SET(archive);
 91-SIMPLE_GET_SET(code);
 92-SIMPLE_GET_SET(code_base);
 93-SIMPLE_GET_SET(height);
 94-SIMPLE_GET_SET(name);
 95-SIMPLE_GET_SET(object);
 96-SIMPLE_GET_SET(width);
 97+SIMPLE_GET_SET(align)
 98+SIMPLE_GET_SET(alt)
 99+SIMPLE_GET_SET(archive)
100+SIMPLE_GET_SET(code)
101+SIMPLE_GET_SET(code_base)
102+SIMPLE_GET_SET(height)
103+SIMPLE_GET_SET(name)
104+SIMPLE_GET_SET(object)
105+SIMPLE_GET_SET(width)
106 
107 dom_exception dom_html_applet_element_get_hspace(
108 		dom_html_applet_element *applet, int32_t *hspace)
109diff --git a/src/html/html_area_element.c b/src/html/html_area_element.c
110index 828b073..967fba5 100644
111--- a/src/html/html_area_element.c
112+++ b/src/html/html_area_element.c
113@@ -240,10 +240,10 @@ dom_exception dom_html_area_element_set_##attr(			\
114 
115 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
116 
117-SIMPLE_GET_SET(access_key);
118-SIMPLE_GET_SET(alt);
119-SIMPLE_GET_SET(coords);
120-SIMPLE_GET_SET(href);
121-SIMPLE_GET_SET(shape);
122-SIMPLE_GET_SET(target);
123+SIMPLE_GET_SET(access_key)
124+SIMPLE_GET_SET(alt)
125+SIMPLE_GET_SET(coords)
126+SIMPLE_GET_SET(href)
127+SIMPLE_GET_SET(shape)
128+SIMPLE_GET_SET(target)
129 
130diff --git a/src/html/html_base_element.c b/src/html/html_base_element.c
131index 0034f7c..6aac094 100644
132--- a/src/html/html_base_element.c
133+++ b/src/html/html_base_element.c
134@@ -180,5 +180,5 @@ dom_exception dom_html_base_element_set_##attr(			\
135 
136 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
137 
138-SIMPLE_GET_SET(href);
139-SIMPLE_GET_SET(target);
140+SIMPLE_GET_SET(href)
141+SIMPLE_GET_SET(target)
142diff --git a/src/html/html_basefont_element.c b/src/html/html_basefont_element.c
143index ac1183d..ff4a6d7 100644
144--- a/src/html/html_basefont_element.c
145+++ b/src/html/html_basefont_element.c
146@@ -207,5 +207,5 @@ dom_exception _dom_html_base_font_element_copy_internal(
147 			}
148 
149 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
150-SIMPLE_GET_SET(color);
151-SIMPLE_GET_SET(face);
152+SIMPLE_GET_SET(color)
153+SIMPLE_GET_SET(face)
154diff --git a/src/html/html_br_element.c b/src/html/html_br_element.c
155index 74e3ea8..c2eb8e5 100644
156--- a/src/html/html_br_element.c
157+++ b/src/html/html_br_element.c
158@@ -185,5 +185,5 @@ dom_exception dom_html_br_element_set_##attr(			\
159 
160 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
161 
162-SIMPLE_GET_SET(clear);
163+SIMPLE_GET_SET(clear)
164 
165diff --git a/src/html/html_button_element.c b/src/html/html_button_element.c
166index 04a17dd..e7b429d 100644
167--- a/src/html/html_button_element.c
168+++ b/src/html/html_button_element.c
169@@ -221,10 +221,10 @@ dom_exception dom_html_button_element_set_##attr(			\
170 
171 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
172 
173-SIMPLE_GET_SET(access_key);
174-SIMPLE_GET_SET(name);
175-SIMPLE_GET(type);
176-SIMPLE_GET_SET(value);
177+SIMPLE_GET_SET(access_key)
178+SIMPLE_GET_SET(name)
179+SIMPLE_GET(type)
180+SIMPLE_GET_SET(value)
181 
182 dom_exception dom_html_button_element_get_tab_index(
183 	dom_html_button_element *button, int32_t *tab_index)
184diff --git a/src/html/html_div_element.c b/src/html/html_div_element.c
185index b061246..2516a8e 100644
186--- a/src/html/html_div_element.c
187+++ b/src/html/html_div_element.c
188@@ -184,5 +184,5 @@ dom_exception dom_html_div_element_set_##attr(			\
189 
190 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
191 
192-SIMPLE_GET_SET(align);
193+SIMPLE_GET_SET(align)
194 
195diff --git a/src/html/html_font_element.c b/src/html/html_font_element.c
196index ecedfb0..ad90642 100644
197--- a/src/html/html_font_element.c
198+++ b/src/html/html_font_element.c
199@@ -185,7 +185,7 @@ dom_exception dom_html_font_element_set_##attr(			\
200 
201 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
202 
203-SIMPLE_GET_SET(color);
204-SIMPLE_GET_SET(face);
205-SIMPLE_GET_SET(size);
206+SIMPLE_GET_SET(color)
207+SIMPLE_GET_SET(face)
208+SIMPLE_GET_SET(size)
209 
210diff --git a/src/html/html_frame_element.c b/src/html/html_frame_element.c
211index fe6859c..c659cea 100644
212--- a/src/html/html_frame_element.c
213+++ b/src/html/html_frame_element.c
214@@ -212,13 +212,13 @@ dom_exception dom_html_frame_element_set_##attr(			\
215 
216 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
217 
218-SIMPLE_GET_SET(long_desc);
219-SIMPLE_GET_SET(name);
220-SIMPLE_GET_SET(src);
221-SIMPLE_GET_SET(frame_border);
222-SIMPLE_GET_SET(margin_width);
223-SIMPLE_GET_SET(margin_height);
224-SIMPLE_GET_SET(scrolling);
225+SIMPLE_GET_SET(long_desc)
226+SIMPLE_GET_SET(name)
227+SIMPLE_GET_SET(src)
228+SIMPLE_GET_SET(frame_border)
229+SIMPLE_GET_SET(margin_width)
230+SIMPLE_GET_SET(margin_height)
231+SIMPLE_GET_SET(scrolling)
232 
233 dom_exception dom_html_frame_element_get_content_document(
234 		dom_html_frame_element *ele,
235diff --git a/src/html/html_frameset_element.c b/src/html/html_frameset_element.c
236index be44d5d..38bb9c8 100644
237--- a/src/html/html_frameset_element.c
238+++ b/src/html/html_frameset_element.c
239@@ -184,6 +184,6 @@ dom_exception dom_html_frame_set_element_set_##attr(			\
240 
241 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
242 
243-SIMPLE_GET_SET (rows);
244-SIMPLE_GET_SET (cols);
245+SIMPLE_GET_SET (rows)
246+SIMPLE_GET_SET (cols)
247 
248diff --git a/src/html/html_heading_element.c b/src/html/html_heading_element.c
249index 8ab2c5a..0a4b515 100644
250--- a/src/html/html_heading_element.c
251+++ b/src/html/html_heading_element.c
252@@ -184,5 +184,5 @@ dom_exception dom_html_heading_element_set_##attr(			\
253 
254 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
255 
256-SIMPLE_GET_SET(align);
257+SIMPLE_GET_SET(align)
258 
259diff --git a/src/html/html_hr_element.c b/src/html/html_hr_element.c
260index e6086f5..aed04d7 100644
261--- a/src/html/html_hr_element.c
262+++ b/src/html/html_hr_element.c
263@@ -212,7 +212,7 @@ dom_exception dom_html_hr_element_set_##attr(			\
264 
265 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
266 
267-SIMPLE_GET_SET(size);
268-SIMPLE_GET_SET(align);
269-SIMPLE_GET_SET(width);
270+SIMPLE_GET_SET(size)
271+SIMPLE_GET_SET(align)
272+SIMPLE_GET_SET(width)
273 
274diff --git a/src/html/html_iframe_element.c b/src/html/html_iframe_element.c
275index 4d7272b..884385b 100644
276--- a/src/html/html_iframe_element.c
277+++ b/src/html/html_iframe_element.c
278@@ -184,16 +184,16 @@ dom_exception dom_html_iframe_element_set_##attr(			\
279 
280 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
281 
282-SIMPLE_GET_SET(long_desc);
283-SIMPLE_GET_SET(align);
284-SIMPLE_GET_SET(name);
285-SIMPLE_GET_SET(src);
286-SIMPLE_GET_SET(margin_width);
287-SIMPLE_GET_SET(margin_height);
288-SIMPLE_GET_SET(scrolling);
289-SIMPLE_GET_SET(frame_border);
290-SIMPLE_GET_SET(width);
291-SIMPLE_GET_SET(height);
292+SIMPLE_GET_SET(long_desc)
293+SIMPLE_GET_SET(align)
294+SIMPLE_GET_SET(name)
295+SIMPLE_GET_SET(src)
296+SIMPLE_GET_SET(margin_width)
297+SIMPLE_GET_SET(margin_height)
298+SIMPLE_GET_SET(scrolling)
299+SIMPLE_GET_SET(frame_border)
300+SIMPLE_GET_SET(width)
301+SIMPLE_GET_SET(height)
302 
303 
304 /**
305diff --git a/src/html/html_image_element.c b/src/html/html_image_element.c
306index 3cdd15f..95b2875 100644
307--- a/src/html/html_image_element.c
308+++ b/src/html/html_image_element.c
309@@ -185,13 +185,13 @@ dom_exception dom_html_image_element_set_##attr(			\
310 
311 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
312 
313-SIMPLE_GET_SET(name);
314-SIMPLE_GET_SET(align);
315-SIMPLE_GET_SET(alt);
316-SIMPLE_GET_SET(border);
317-SIMPLE_GET_SET(long_desc);
318-SIMPLE_GET_SET(src);
319-SIMPLE_GET_SET(use_map);
320+SIMPLE_GET_SET(name)
321+SIMPLE_GET_SET(align)
322+SIMPLE_GET_SET(alt)
323+SIMPLE_GET_SET(border)
324+SIMPLE_GET_SET(long_desc)
325+SIMPLE_GET_SET(src)
326+SIMPLE_GET_SET(use_map)
327 
328 dom_exception dom_html_image_element_get_height(
329 	dom_html_image_element *image, dom_ulong *height)
330diff --git a/src/html/html_input_element.c b/src/html/html_input_element.c
331index 079b55e..22e1e63 100644
332--- a/src/html/html_input_element.c
333+++ b/src/html/html_input_element.c
334@@ -390,15 +390,15 @@ dom_exception dom_html_input_element_set_##attr(			\
335 
336 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
337 
338-SIMPLE_GET_SET(accept);
339-SIMPLE_GET_SET(access_key);
340-SIMPLE_GET_SET(align);
341-SIMPLE_GET_SET(alt);
342-SIMPLE_GET_SET(name);
343-SIMPLE_GET_SET(src);
344-SIMPLE_GET(type);
345-SIMPLE_GET_SET(use_map);
346-SIMPLE_GET_SET(value);
347+SIMPLE_GET_SET(accept)
348+SIMPLE_GET_SET(access_key)
349+SIMPLE_GET_SET(align)
350+SIMPLE_GET_SET(alt)
351+SIMPLE_GET_SET(name)
352+SIMPLE_GET_SET(src)
353+SIMPLE_GET(type)
354+SIMPLE_GET_SET(use_map)
355+SIMPLE_GET_SET(value)
356 
357 dom_exception dom_html_input_element_get_size(
358 	dom_html_input_element *input, dom_ulong *size)
359diff --git a/src/html/html_isindex_element.c b/src/html/html_isindex_element.c
360index 40cb99c..216f7b8 100644
361--- a/src/html/html_isindex_element.c
362+++ b/src/html/html_isindex_element.c
363@@ -181,7 +181,7 @@ dom_exception dom_html_isindex_element_set_##attr(			\
364 	}
365 
366 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
367-SIMPLE_GET_SET(prompt);
368+SIMPLE_GET_SET(prompt)
369 /*-----------------------------------------------------------------------*/
370 /* Public APIs */
371 
372diff --git a/src/html/html_label_element.c b/src/html/html_label_element.c
373index 777144a..9b69c55 100644
374--- a/src/html/html_label_element.c
375+++ b/src/html/html_label_element.c
376@@ -214,6 +214,6 @@ dom_exception dom_html_label_element_set_##attr(			\
377 	}
378 
379 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
380-SIMPLE_GET_SET(access_key);
381-SIMPLE_GET_SET(html_for);
382+SIMPLE_GET_SET(access_key)
383+SIMPLE_GET_SET(html_for)
384 
385diff --git a/src/html/html_legend_element.c b/src/html/html_legend_element.c
386index efb712b..e558be3 100644
387--- a/src/html/html_legend_element.c
388+++ b/src/html/html_legend_element.c
389@@ -219,8 +219,8 @@ dom_exception dom_html_legend_element_set_##attr(			\
390 
391 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
392 
393-SIMPLE_GET_SET(access_key);
394-SIMPLE_SET(align);
395+SIMPLE_GET_SET(access_key)
396+SIMPLE_SET(align)
397 
398 dom_exception dom_html_legend_element_get_align(
399         dom_html_legend_element *legend, dom_string **align)
400diff --git a/src/html/html_li_element.c b/src/html/html_li_element.c
401index 84becf9..1207a5c 100644
402--- a/src/html/html_li_element.c
403+++ b/src/html/html_li_element.c
404@@ -208,4 +208,4 @@ dom_exception _dom_html_li_element_copy_internal(
405 
406 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
407 
408-SIMPLE_GET_SET(type);
409+SIMPLE_GET_SET(type)
410diff --git a/src/html/html_map_element.c b/src/html/html_map_element.c
411index 3b10222..206e649 100644
412--- a/src/html/html_map_element.c
413+++ b/src/html/html_map_element.c
414@@ -187,7 +187,7 @@ dom_exception dom_html_map_element_set_##attr(			\
415 
416 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
417 
418-SIMPLE_GET_SET(name);
419+SIMPLE_GET_SET(name)
420 
421 /* The callback function for  _dom_html_collection_create*/
422 static bool callback(struct dom_node_internal *node, void *ctx)
423diff --git a/src/html/html_mod_element.c b/src/html/html_mod_element.c
424index 20cb042..7b9b90f 100644
425--- a/src/html/html_mod_element.c
426+++ b/src/html/html_mod_element.c
427@@ -185,6 +185,6 @@ dom_exception dom_html_mod_element_set_##attr(			\
428 
429 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
430 
431-SIMPLE_GET_SET(cite);
432-SIMPLE_GET_SET(date_time);
433+SIMPLE_GET_SET(cite)
434+SIMPLE_GET_SET(date_time)
435 
436diff --git a/src/html/html_object_element.c b/src/html/html_object_element.c
437index b51e3a0..e9f02cb 100644
438--- a/src/html/html_object_element.c
439+++ b/src/html/html_object_element.c
440@@ -187,19 +187,19 @@ dom_exception _dom_html_object_element_copy_internal(
441 
442 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
443 
444-SIMPLE_GET_SET(code);
445-SIMPLE_GET_SET(align);
446-SIMPLE_GET_SET(archive);
447-SIMPLE_GET_SET(border);
448-SIMPLE_GET_SET(code_base);
449-SIMPLE_GET_SET(code_type);
450-SIMPLE_GET_SET(data);
451-SIMPLE_GET_SET(height);
452-SIMPLE_GET_SET(name);
453-SIMPLE_GET_SET(standby);
454-SIMPLE_GET_SET(type);
455-SIMPLE_GET_SET(use_map);
456-SIMPLE_GET_SET(width);
457+SIMPLE_GET_SET(code)
458+SIMPLE_GET_SET(align)
459+SIMPLE_GET_SET(archive)
460+SIMPLE_GET_SET(border)
461+SIMPLE_GET_SET(code_base)
462+SIMPLE_GET_SET(code_type)
463+SIMPLE_GET_SET(data)
464+SIMPLE_GET_SET(height)
465+SIMPLE_GET_SET(name)
466+SIMPLE_GET_SET(standby)
467+SIMPLE_GET_SET(type)
468+SIMPLE_GET_SET(use_map)
469+SIMPLE_GET_SET(width)
470 
471 dom_exception dom_html_object_element_get_hspace(
472 		dom_html_object_element *object, int32_t *hspace)
473diff --git a/src/html/html_olist_element.c b/src/html/html_olist_element.c
474index c89d11f..17d7317 100644
475--- a/src/html/html_olist_element.c
476+++ b/src/html/html_olist_element.c
477@@ -232,4 +232,4 @@ dom_exception _dom_html_olist_element_copy_internal(
478 
479 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
480 
481-SIMPLE_GET_SET(type);
482+SIMPLE_GET_SET(type)
483diff --git a/src/html/html_opt_group_element.c b/src/html/html_opt_group_element.c
484index 6af0a29..3c20d1c 100644
485--- a/src/html/html_opt_group_element.c
486+++ b/src/html/html_opt_group_element.c
487@@ -215,4 +215,4 @@ dom_exception dom_html_opt_group_element_set_##attr(			\
488 
489 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
490 
491-SIMPLE_GET_SET(label);
492+SIMPLE_GET_SET(label)
493diff --git a/src/html/html_paragraph_element.c b/src/html/html_paragraph_element.c
494index 2b2f420..4f75528 100644
495--- a/src/html/html_paragraph_element.c
496+++ b/src/html/html_paragraph_element.c
497@@ -184,5 +184,5 @@ dom_exception dom_html_paragraph_element_set_##attr(			\
498 
499 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
500 
501-SIMPLE_GET_SET(align);
502+SIMPLE_GET_SET(align)
503 
504diff --git a/src/html/html_param_element.c b/src/html/html_param_element.c
505index c75e1ce..b2ba7aa 100644
506--- a/src/html/html_param_element.c
507+++ b/src/html/html_param_element.c
508@@ -183,7 +183,7 @@ dom_exception _dom_html_param_element_copy_internal(
509 			}
510 
511 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
512-SIMPLE_GET_SET(name);
513-SIMPLE_GET_SET(type);
514-SIMPLE_GET_SET(value);
515-SIMPLE_GET_SET(value_type);
516+SIMPLE_GET_SET(name)
517+SIMPLE_GET_SET(type)
518+SIMPLE_GET_SET(value)
519+SIMPLE_GET_SET(value_type)
520diff --git a/src/html/html_quote_element.c b/src/html/html_quote_element.c
521index cf3e0c5..e42d153 100644
522--- a/src/html/html_quote_element.c
523+++ b/src/html/html_quote_element.c
524@@ -184,5 +184,5 @@ dom_exception dom_html_quote_element_set_##attr(			\
525 
526 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
527 
528-SIMPLE_GET_SET(cite);
529+SIMPLE_GET_SET(cite)
530 
531diff --git a/src/html/html_script_element.c b/src/html/html_script_element.c
532index e8dfb1d..369cb2a 100644
533--- a/src/html/html_script_element.c
534+++ b/src/html/html_script_element.c
535@@ -186,11 +186,11 @@ dom_exception dom_html_script_element_set_##attr(			\
536 
537 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
538 
539-SIMPLE_GET_SET(html_for);
540-SIMPLE_GET_SET(event);
541-SIMPLE_GET_SET(charset);
542-SIMPLE_GET_SET(src);
543-SIMPLE_GET_SET(type);
544+SIMPLE_GET_SET(html_for)
545+SIMPLE_GET_SET(event)
546+SIMPLE_GET_SET(charset)
547+SIMPLE_GET_SET(src)
548+SIMPLE_GET_SET(type)
549 
550 /**
551  * Get the defer property
552diff --git a/src/html/html_style_element.c b/src/html/html_style_element.c
553index ae845be..6d4ecf6 100644
554--- a/src/html/html_style_element.c
555+++ b/src/html/html_style_element.c
556@@ -180,8 +180,8 @@ dom_exception dom_html_style_element_set_##attr(			\
557 	}
558 
559 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
560-SIMPLE_GET_SET(type);
561-SIMPLE_GET_SET(media);
562+SIMPLE_GET_SET(type)
563+SIMPLE_GET_SET(media)
564 
565 /**
566  * Get the disabled property
567diff --git a/src/html/html_table_element.c b/src/html/html_table_element.c
568index f197d07..a96717a 100644
569--- a/src/html/html_table_element.c
570+++ b/src/html/html_table_element.c
571@@ -187,15 +187,15 @@ dom_exception _dom_html_table_element_copy_internal(
572 }
573 
574 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
575-SIMPLE_GET_SET(align);
576-SIMPLE_GET_SET(bg_color);
577-SIMPLE_GET_SET(border);
578-SIMPLE_GET_SET(cell_padding);
579-SIMPLE_GET_SET(cell_spacing);
580-SIMPLE_GET_SET(frame);
581-SIMPLE_GET_SET(rules);
582-SIMPLE_GET_SET(summary);
583-SIMPLE_GET_SET(width);
584+SIMPLE_GET_SET(align)
585+SIMPLE_GET_SET(bg_color)
586+SIMPLE_GET_SET(border)
587+SIMPLE_GET_SET(cell_padding)
588+SIMPLE_GET_SET(cell_spacing)
589+SIMPLE_GET_SET(frame)
590+SIMPLE_GET_SET(rules)
591+SIMPLE_GET_SET(summary)
592+SIMPLE_GET_SET(width)
593 
594 /**
595  * Get the caption Attribute
596diff --git a/src/html/html_tablecaption_element.c b/src/html/html_tablecaption_element.c
597index cae229c..fa41525 100644
598--- a/src/html/html_tablecaption_element.c
599+++ b/src/html/html_tablecaption_element.c
600@@ -183,5 +183,5 @@ dom_exception _dom_html_table_caption_element_copy_internal(
601 			}
602 
603 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
604-SIMPLE_GET_SET(align);
605+SIMPLE_GET_SET(align)
606 
607diff --git a/src/html/html_tablecell_element.c b/src/html/html_tablecell_element.c
608index 7a1f968..a3b3095 100644
609--- a/src/html/html_tablecell_element.c
610+++ b/src/html/html_tablecell_element.c
611@@ -185,17 +185,17 @@ dom_exception _dom_html_table_cell_element_copy_internal(
612 
613 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
614 
615-SIMPLE_GET_SET(abbr);
616-SIMPLE_GET_SET(align);
617-SIMPLE_GET_SET(axis);
618-SIMPLE_GET_SET(bg_color);
619-SIMPLE_GET_SET(ch);
620-SIMPLE_GET_SET(ch_off);
621-SIMPLE_GET_SET(headers);
622-SIMPLE_GET_SET(height);
623-SIMPLE_GET_SET(scope);
624-SIMPLE_GET_SET(v_align);
625-SIMPLE_GET_SET(width);
626+SIMPLE_GET_SET(abbr)
627+SIMPLE_GET_SET(align)
628+SIMPLE_GET_SET(axis)
629+SIMPLE_GET_SET(bg_color)
630+SIMPLE_GET_SET(ch)
631+SIMPLE_GET_SET(ch_off)
632+SIMPLE_GET_SET(headers)
633+SIMPLE_GET_SET(height)
634+SIMPLE_GET_SET(scope)
635+SIMPLE_GET_SET(v_align)
636+SIMPLE_GET_SET(width)
637 
638 /**
639  * Get the cell_index property
640diff --git a/src/html/html_tablecol_element.c b/src/html/html_tablecol_element.c
641index 74169be..33be3e5 100644
642--- a/src/html/html_tablecol_element.c
643+++ b/src/html/html_tablecol_element.c
644@@ -207,9 +207,9 @@ dom_exception _dom_html_table_col_element_copy_internal(
645 			}
646 
647 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
648-SIMPLE_GET_SET(align);
649-SIMPLE_GET_SET(ch);
650-SIMPLE_GET_SET(ch_off);
651-SIMPLE_GET_SET(v_align);
652-SIMPLE_GET_SET(width);
653+SIMPLE_GET_SET(align)
654+SIMPLE_GET_SET(ch)
655+SIMPLE_GET_SET(ch_off)
656+SIMPLE_GET_SET(v_align)
657+SIMPLE_GET_SET(width)
658 
659diff --git a/src/html/html_tablerow_element.c b/src/html/html_tablerow_element.c
660index fe7d929..b1ac520 100644
661--- a/src/html/html_tablerow_element.c
662+++ b/src/html/html_tablerow_element.c
663@@ -187,11 +187,11 @@ dom_exception _dom_html_table_row_element_copy_internal(
664 
665 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
666 
667-SIMPLE_GET_SET(align);
668-SIMPLE_GET_SET(bg_color);
669-SIMPLE_GET_SET(ch);
670-SIMPLE_GET_SET(ch_off);
671-SIMPLE_GET_SET(v_align);
672+SIMPLE_GET_SET(align)
673+SIMPLE_GET_SET(bg_color)
674+SIMPLE_GET_SET(ch)
675+SIMPLE_GET_SET(ch_off)
676+SIMPLE_GET_SET(v_align)
677 
678 /**
679  * Get the index of the Row in logical order
680diff --git a/src/html/html_tablesection_element.c b/src/html/html_tablesection_element.c
681index f839758..7bb5289 100644
682--- a/src/html/html_tablesection_element.c
683+++ b/src/html/html_tablesection_element.c
684@@ -187,10 +187,10 @@ dom_exception _dom_html_table_section_element_copy_internal(
685 }
686 
687 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
688-SIMPLE_GET_SET(align);
689-SIMPLE_GET_SET(ch);
690-SIMPLE_GET_SET(ch_off);
691-SIMPLE_GET_SET(v_align);
692+SIMPLE_GET_SET(align)
693+SIMPLE_GET_SET(ch)
694+SIMPLE_GET_SET(ch_off)
695+SIMPLE_GET_SET(v_align)
696 
697 /* The callback function for  _dom_html_collection_create*/
698 static bool table_section_callback(struct dom_node_internal *node, void *ctx)
699diff --git a/src/html/html_text_area_element.c b/src/html/html_text_area_element.c
700index 6117e83..b031360 100644
701--- a/src/html/html_text_area_element.c
702+++ b/src/html/html_text_area_element.c
703@@ -385,8 +385,8 @@ dom_exception dom_html_text_area_element_set_##attr(			\
704 
705 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
706 
707-SIMPLE_GET_SET(access_key);
708-SIMPLE_GET_SET(name);
709+SIMPLE_GET_SET(access_key)
710+SIMPLE_GET_SET(name)
711 
712 dom_exception dom_html_text_area_element_get_type(
713 	dom_html_text_area_element *text_area, dom_string **type)
714diff --git a/src/html/html_ulist_element.c b/src/html/html_ulist_element.c
715index f2b87fb..11ecdfb 100644
716--- a/src/html/html_ulist_element.c
717+++ b/src/html/html_ulist_element.c
718@@ -208,4 +208,4 @@ dom_exception _dom_html_u_list_element_copy_internal(
719 
720 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
721 
722-SIMPLE_GET_SET(type);
723+SIMPLE_GET_SET(type)
724-- 
7252.22.0
726