summaryrefslogtreecommitdiff
path: root/pkg/netsurf/libdom/patch/0001-Remove-empty-top-level-declarations.patch
blob: 9c3852a29685003347bce7c6385a81c5835e9bc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
From 64cefc96a96ea5cade24179ee17bc3dfb3c90187 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Mon, 1 Jul 2019 22:57:10 -0700
Subject: [PATCH] Remove empty top-level declarations

---
 src/html/html_anchor_element.c       | 22 +++++++++++-----------
 src/html/html_applet_element.c       | 18 +++++++++---------
 src/html/html_area_element.c         | 12 ++++++------
 src/html/html_base_element.c         |  4 ++--
 src/html/html_basefont_element.c     |  4 ++--
 src/html/html_br_element.c           |  2 +-
 src/html/html_button_element.c       |  8 ++++----
 src/html/html_div_element.c          |  2 +-
 src/html/html_font_element.c         |  6 +++---
 src/html/html_frame_element.c        | 14 +++++++-------
 src/html/html_frameset_element.c     |  4 ++--
 src/html/html_heading_element.c      |  2 +-
 src/html/html_hr_element.c           |  6 +++---
 src/html/html_iframe_element.c       | 20 ++++++++++----------
 src/html/html_image_element.c        | 14 +++++++-------
 src/html/html_input_element.c        | 18 +++++++++---------
 src/html/html_isindex_element.c      |  2 +-
 src/html/html_label_element.c        |  4 ++--
 src/html/html_legend_element.c       |  4 ++--
 src/html/html_li_element.c           |  2 +-
 src/html/html_map_element.c          |  2 +-
 src/html/html_mod_element.c          |  4 ++--
 src/html/html_object_element.c       | 26 +++++++++++++-------------
 src/html/html_olist_element.c        |  2 +-
 src/html/html_opt_group_element.c    |  2 +-
 src/html/html_paragraph_element.c    |  2 +-
 src/html/html_param_element.c        |  8 ++++----
 src/html/html_quote_element.c        |  2 +-
 src/html/html_script_element.c       | 10 +++++-----
 src/html/html_style_element.c        |  4 ++--
 src/html/html_table_element.c        | 18 +++++++++---------
 src/html/html_tablecaption_element.c |  2 +-
 src/html/html_tablecell_element.c    | 22 +++++++++++-----------
 src/html/html_tablecol_element.c     | 10 +++++-----
 src/html/html_tablerow_element.c     | 10 +++++-----
 src/html/html_tablesection_element.c |  8 ++++----
 src/html/html_text_area_element.c    |  4 ++--
 src/html/html_ulist_element.c        |  2 +-
 38 files changed, 153 insertions(+), 153 deletions(-)

diff --git a/src/html/html_anchor_element.c b/src/html/html_anchor_element.c
index 8d64c2b..8aa6a79 100644
--- a/src/html/html_anchor_element.c
+++ b/src/html/html_anchor_element.c
@@ -185,17 +185,17 @@ dom_exception dom_html_anchor_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(access_key);
-SIMPLE_GET_SET(charset);
-SIMPLE_GET_SET(coords);
-SIMPLE_GET_SET(href);
-SIMPLE_GET_SET(hreflang);
-SIMPLE_GET_SET(name);
-SIMPLE_GET_SET(rel);
-SIMPLE_GET_SET(rev);
-SIMPLE_GET_SET(shape);
-SIMPLE_GET_SET(target);
-SIMPLE_GET_SET(type);
+SIMPLE_GET_SET(access_key)
+SIMPLE_GET_SET(charset)
+SIMPLE_GET_SET(coords)
+SIMPLE_GET_SET(href)
+SIMPLE_GET_SET(hreflang)
+SIMPLE_GET_SET(name)
+SIMPLE_GET_SET(rel)
+SIMPLE_GET_SET(rev)
+SIMPLE_GET_SET(shape)
+SIMPLE_GET_SET(target)
+SIMPLE_GET_SET(type)
 
 dom_exception dom_html_anchor_element_get_tab_index(
 	dom_html_anchor_element *anchor, int32_t *tab_index)
diff --git a/src/html/html_applet_element.c b/src/html/html_applet_element.c
index 93ea1b5..9451810 100644
--- a/src/html/html_applet_element.c
+++ b/src/html/html_applet_element.c
@@ -185,15 +185,15 @@ dom_exception _dom_html_applet_element_copy_internal(
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(align);
-SIMPLE_GET_SET(alt);
-SIMPLE_GET_SET(archive);
-SIMPLE_GET_SET(code);
-SIMPLE_GET_SET(code_base);
-SIMPLE_GET_SET(height);
-SIMPLE_GET_SET(name);
-SIMPLE_GET_SET(object);
-SIMPLE_GET_SET(width);
+SIMPLE_GET_SET(align)
+SIMPLE_GET_SET(alt)
+SIMPLE_GET_SET(archive)
+SIMPLE_GET_SET(code)
+SIMPLE_GET_SET(code_base)
+SIMPLE_GET_SET(height)
+SIMPLE_GET_SET(name)
+SIMPLE_GET_SET(object)
+SIMPLE_GET_SET(width)
 
 dom_exception dom_html_applet_element_get_hspace(
 		dom_html_applet_element *applet, int32_t *hspace)
diff --git a/src/html/html_area_element.c b/src/html/html_area_element.c
index 828b073..967fba5 100644
--- a/src/html/html_area_element.c
+++ b/src/html/html_area_element.c
@@ -240,10 +240,10 @@ dom_exception dom_html_area_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(access_key);
-SIMPLE_GET_SET(alt);
-SIMPLE_GET_SET(coords);
-SIMPLE_GET_SET(href);
-SIMPLE_GET_SET(shape);
-SIMPLE_GET_SET(target);
+SIMPLE_GET_SET(access_key)
+SIMPLE_GET_SET(alt)
+SIMPLE_GET_SET(coords)
+SIMPLE_GET_SET(href)
+SIMPLE_GET_SET(shape)
+SIMPLE_GET_SET(target)
 
diff --git a/src/html/html_base_element.c b/src/html/html_base_element.c
index 0034f7c..6aac094 100644
--- a/src/html/html_base_element.c
+++ b/src/html/html_base_element.c
@@ -180,5 +180,5 @@ dom_exception dom_html_base_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(href);
-SIMPLE_GET_SET(target);
+SIMPLE_GET_SET(href)
+SIMPLE_GET_SET(target)
diff --git a/src/html/html_basefont_element.c b/src/html/html_basefont_element.c
index ac1183d..ff4a6d7 100644
--- a/src/html/html_basefont_element.c
+++ b/src/html/html_basefont_element.c
@@ -207,5 +207,5 @@ dom_exception _dom_html_base_font_element_copy_internal(
 			}
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
-SIMPLE_GET_SET(color);
-SIMPLE_GET_SET(face);
+SIMPLE_GET_SET(color)
+SIMPLE_GET_SET(face)
diff --git a/src/html/html_br_element.c b/src/html/html_br_element.c
index 74e3ea8..c2eb8e5 100644
--- a/src/html/html_br_element.c
+++ b/src/html/html_br_element.c
@@ -185,5 +185,5 @@ dom_exception dom_html_br_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(clear);
+SIMPLE_GET_SET(clear)
 
diff --git a/src/html/html_button_element.c b/src/html/html_button_element.c
index 04a17dd..e7b429d 100644
--- a/src/html/html_button_element.c
+++ b/src/html/html_button_element.c
@@ -221,10 +221,10 @@ dom_exception dom_html_button_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(access_key);
-SIMPLE_GET_SET(name);
-SIMPLE_GET(type);
-SIMPLE_GET_SET(value);
+SIMPLE_GET_SET(access_key)
+SIMPLE_GET_SET(name)
+SIMPLE_GET(type)
+SIMPLE_GET_SET(value)
 
 dom_exception dom_html_button_element_get_tab_index(
 	dom_html_button_element *button, int32_t *tab_index)
diff --git a/src/html/html_div_element.c b/src/html/html_div_element.c
index b061246..2516a8e 100644
--- a/src/html/html_div_element.c
+++ b/src/html/html_div_element.c
@@ -184,5 +184,5 @@ dom_exception dom_html_div_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(align);
+SIMPLE_GET_SET(align)
 
diff --git a/src/html/html_font_element.c b/src/html/html_font_element.c
index ecedfb0..ad90642 100644
--- a/src/html/html_font_element.c
+++ b/src/html/html_font_element.c
@@ -185,7 +185,7 @@ dom_exception dom_html_font_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(color);
-SIMPLE_GET_SET(face);
-SIMPLE_GET_SET(size);
+SIMPLE_GET_SET(color)
+SIMPLE_GET_SET(face)
+SIMPLE_GET_SET(size)
 
diff --git a/src/html/html_frame_element.c b/src/html/html_frame_element.c
index fe6859c..c659cea 100644
--- a/src/html/html_frame_element.c
+++ b/src/html/html_frame_element.c
@@ -212,13 +212,13 @@ dom_exception dom_html_frame_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(long_desc);
-SIMPLE_GET_SET(name);
-SIMPLE_GET_SET(src);
-SIMPLE_GET_SET(frame_border);
-SIMPLE_GET_SET(margin_width);
-SIMPLE_GET_SET(margin_height);
-SIMPLE_GET_SET(scrolling);
+SIMPLE_GET_SET(long_desc)
+SIMPLE_GET_SET(name)
+SIMPLE_GET_SET(src)
+SIMPLE_GET_SET(frame_border)
+SIMPLE_GET_SET(margin_width)
+SIMPLE_GET_SET(margin_height)
+SIMPLE_GET_SET(scrolling)
 
 dom_exception dom_html_frame_element_get_content_document(
 		dom_html_frame_element *ele,
diff --git a/src/html/html_frameset_element.c b/src/html/html_frameset_element.c
index be44d5d..38bb9c8 100644
--- a/src/html/html_frameset_element.c
+++ b/src/html/html_frameset_element.c
@@ -184,6 +184,6 @@ dom_exception dom_html_frame_set_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET (rows);
-SIMPLE_GET_SET (cols);
+SIMPLE_GET_SET (rows)
+SIMPLE_GET_SET (cols)
 
diff --git a/src/html/html_heading_element.c b/src/html/html_heading_element.c
index 8ab2c5a..0a4b515 100644
--- a/src/html/html_heading_element.c
+++ b/src/html/html_heading_element.c
@@ -184,5 +184,5 @@ dom_exception dom_html_heading_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(align);
+SIMPLE_GET_SET(align)
 
diff --git a/src/html/html_hr_element.c b/src/html/html_hr_element.c
index e6086f5..aed04d7 100644
--- a/src/html/html_hr_element.c
+++ b/src/html/html_hr_element.c
@@ -212,7 +212,7 @@ dom_exception dom_html_hr_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(size);
-SIMPLE_GET_SET(align);
-SIMPLE_GET_SET(width);
+SIMPLE_GET_SET(size)
+SIMPLE_GET_SET(align)
+SIMPLE_GET_SET(width)
 
diff --git a/src/html/html_iframe_element.c b/src/html/html_iframe_element.c
index 4d7272b..884385b 100644
--- a/src/html/html_iframe_element.c
+++ b/src/html/html_iframe_element.c
@@ -184,16 +184,16 @@ dom_exception dom_html_iframe_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(long_desc);
-SIMPLE_GET_SET(align);
-SIMPLE_GET_SET(name);
-SIMPLE_GET_SET(src);
-SIMPLE_GET_SET(margin_width);
-SIMPLE_GET_SET(margin_height);
-SIMPLE_GET_SET(scrolling);
-SIMPLE_GET_SET(frame_border);
-SIMPLE_GET_SET(width);
-SIMPLE_GET_SET(height);
+SIMPLE_GET_SET(long_desc)
+SIMPLE_GET_SET(align)
+SIMPLE_GET_SET(name)
+SIMPLE_GET_SET(src)
+SIMPLE_GET_SET(margin_width)
+SIMPLE_GET_SET(margin_height)
+SIMPLE_GET_SET(scrolling)
+SIMPLE_GET_SET(frame_border)
+SIMPLE_GET_SET(width)
+SIMPLE_GET_SET(height)
 
 
 /**
diff --git a/src/html/html_image_element.c b/src/html/html_image_element.c
index 3cdd15f..95b2875 100644
--- a/src/html/html_image_element.c
+++ b/src/html/html_image_element.c
@@ -185,13 +185,13 @@ dom_exception dom_html_image_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(name);
-SIMPLE_GET_SET(align);
-SIMPLE_GET_SET(alt);
-SIMPLE_GET_SET(border);
-SIMPLE_GET_SET(long_desc);
-SIMPLE_GET_SET(src);
-SIMPLE_GET_SET(use_map);
+SIMPLE_GET_SET(name)
+SIMPLE_GET_SET(align)
+SIMPLE_GET_SET(alt)
+SIMPLE_GET_SET(border)
+SIMPLE_GET_SET(long_desc)
+SIMPLE_GET_SET(src)
+SIMPLE_GET_SET(use_map)
 
 dom_exception dom_html_image_element_get_height(
 	dom_html_image_element *image, dom_ulong *height)
diff --git a/src/html/html_input_element.c b/src/html/html_input_element.c
index 079b55e..22e1e63 100644
--- a/src/html/html_input_element.c
+++ b/src/html/html_input_element.c
@@ -390,15 +390,15 @@ dom_exception dom_html_input_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(accept);
-SIMPLE_GET_SET(access_key);
-SIMPLE_GET_SET(align);
-SIMPLE_GET_SET(alt);
-SIMPLE_GET_SET(name);
-SIMPLE_GET_SET(src);
-SIMPLE_GET(type);
-SIMPLE_GET_SET(use_map);
-SIMPLE_GET_SET(value);
+SIMPLE_GET_SET(accept)
+SIMPLE_GET_SET(access_key)
+SIMPLE_GET_SET(align)
+SIMPLE_GET_SET(alt)
+SIMPLE_GET_SET(name)
+SIMPLE_GET_SET(src)
+SIMPLE_GET(type)
+SIMPLE_GET_SET(use_map)
+SIMPLE_GET_SET(value)
 
 dom_exception dom_html_input_element_get_size(
 	dom_html_input_element *input, dom_ulong *size)
diff --git a/src/html/html_isindex_element.c b/src/html/html_isindex_element.c
index 40cb99c..216f7b8 100644
--- a/src/html/html_isindex_element.c
+++ b/src/html/html_isindex_element.c
@@ -181,7 +181,7 @@ dom_exception dom_html_isindex_element_set_##attr(			\
 	}
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
-SIMPLE_GET_SET(prompt);
+SIMPLE_GET_SET(prompt)
 /*-----------------------------------------------------------------------*/
 /* Public APIs */
 
diff --git a/src/html/html_label_element.c b/src/html/html_label_element.c
index 777144a..9b69c55 100644
--- a/src/html/html_label_element.c
+++ b/src/html/html_label_element.c
@@ -214,6 +214,6 @@ dom_exception dom_html_label_element_set_##attr(			\
 	}
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
-SIMPLE_GET_SET(access_key);
-SIMPLE_GET_SET(html_for);
+SIMPLE_GET_SET(access_key)
+SIMPLE_GET_SET(html_for)
 
diff --git a/src/html/html_legend_element.c b/src/html/html_legend_element.c
index efb712b..e558be3 100644
--- a/src/html/html_legend_element.c
+++ b/src/html/html_legend_element.c
@@ -219,8 +219,8 @@ dom_exception dom_html_legend_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(access_key);
-SIMPLE_SET(align);
+SIMPLE_GET_SET(access_key)
+SIMPLE_SET(align)
 
 dom_exception dom_html_legend_element_get_align(
         dom_html_legend_element *legend, dom_string **align)
diff --git a/src/html/html_li_element.c b/src/html/html_li_element.c
index 84becf9..1207a5c 100644
--- a/src/html/html_li_element.c
+++ b/src/html/html_li_element.c
@@ -208,4 +208,4 @@ dom_exception _dom_html_li_element_copy_internal(
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(type);
+SIMPLE_GET_SET(type)
diff --git a/src/html/html_map_element.c b/src/html/html_map_element.c
index 3b10222..206e649 100644
--- a/src/html/html_map_element.c
+++ b/src/html/html_map_element.c
@@ -187,7 +187,7 @@ dom_exception dom_html_map_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(name);
+SIMPLE_GET_SET(name)
 
 /* The callback function for  _dom_html_collection_create*/
 static bool callback(struct dom_node_internal *node, void *ctx)
diff --git a/src/html/html_mod_element.c b/src/html/html_mod_element.c
index 20cb042..7b9b90f 100644
--- a/src/html/html_mod_element.c
+++ b/src/html/html_mod_element.c
@@ -185,6 +185,6 @@ dom_exception dom_html_mod_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(cite);
-SIMPLE_GET_SET(date_time);
+SIMPLE_GET_SET(cite)
+SIMPLE_GET_SET(date_time)
 
diff --git a/src/html/html_object_element.c b/src/html/html_object_element.c
index b51e3a0..e9f02cb 100644
--- a/src/html/html_object_element.c
+++ b/src/html/html_object_element.c
@@ -187,19 +187,19 @@ dom_exception _dom_html_object_element_copy_internal(
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(code);
-SIMPLE_GET_SET(align);
-SIMPLE_GET_SET(archive);
-SIMPLE_GET_SET(border);
-SIMPLE_GET_SET(code_base);
-SIMPLE_GET_SET(code_type);
-SIMPLE_GET_SET(data);
-SIMPLE_GET_SET(height);
-SIMPLE_GET_SET(name);
-SIMPLE_GET_SET(standby);
-SIMPLE_GET_SET(type);
-SIMPLE_GET_SET(use_map);
-SIMPLE_GET_SET(width);
+SIMPLE_GET_SET(code)
+SIMPLE_GET_SET(align)
+SIMPLE_GET_SET(archive)
+SIMPLE_GET_SET(border)
+SIMPLE_GET_SET(code_base)
+SIMPLE_GET_SET(code_type)
+SIMPLE_GET_SET(data)
+SIMPLE_GET_SET(height)
+SIMPLE_GET_SET(name)
+SIMPLE_GET_SET(standby)
+SIMPLE_GET_SET(type)
+SIMPLE_GET_SET(use_map)
+SIMPLE_GET_SET(width)
 
 dom_exception dom_html_object_element_get_hspace(
 		dom_html_object_element *object, int32_t *hspace)
diff --git a/src/html/html_olist_element.c b/src/html/html_olist_element.c
index c89d11f..17d7317 100644
--- a/src/html/html_olist_element.c
+++ b/src/html/html_olist_element.c
@@ -232,4 +232,4 @@ dom_exception _dom_html_olist_element_copy_internal(
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(type);
+SIMPLE_GET_SET(type)
diff --git a/src/html/html_opt_group_element.c b/src/html/html_opt_group_element.c
index 6af0a29..3c20d1c 100644
--- a/src/html/html_opt_group_element.c
+++ b/src/html/html_opt_group_element.c
@@ -215,4 +215,4 @@ dom_exception dom_html_opt_group_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(label);
+SIMPLE_GET_SET(label)
diff --git a/src/html/html_paragraph_element.c b/src/html/html_paragraph_element.c
index 2b2f420..4f75528 100644
--- a/src/html/html_paragraph_element.c
+++ b/src/html/html_paragraph_element.c
@@ -184,5 +184,5 @@ dom_exception dom_html_paragraph_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(align);
+SIMPLE_GET_SET(align)
 
diff --git a/src/html/html_param_element.c b/src/html/html_param_element.c
index c75e1ce..b2ba7aa 100644
--- a/src/html/html_param_element.c
+++ b/src/html/html_param_element.c
@@ -183,7 +183,7 @@ dom_exception _dom_html_param_element_copy_internal(
 			}
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
-SIMPLE_GET_SET(name);
-SIMPLE_GET_SET(type);
-SIMPLE_GET_SET(value);
-SIMPLE_GET_SET(value_type);
+SIMPLE_GET_SET(name)
+SIMPLE_GET_SET(type)
+SIMPLE_GET_SET(value)
+SIMPLE_GET_SET(value_type)
diff --git a/src/html/html_quote_element.c b/src/html/html_quote_element.c
index cf3e0c5..e42d153 100644
--- a/src/html/html_quote_element.c
+++ b/src/html/html_quote_element.c
@@ -184,5 +184,5 @@ dom_exception dom_html_quote_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(cite);
+SIMPLE_GET_SET(cite)
 
diff --git a/src/html/html_script_element.c b/src/html/html_script_element.c
index e8dfb1d..369cb2a 100644
--- a/src/html/html_script_element.c
+++ b/src/html/html_script_element.c
@@ -186,11 +186,11 @@ dom_exception dom_html_script_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(html_for);
-SIMPLE_GET_SET(event);
-SIMPLE_GET_SET(charset);
-SIMPLE_GET_SET(src);
-SIMPLE_GET_SET(type);
+SIMPLE_GET_SET(html_for)
+SIMPLE_GET_SET(event)
+SIMPLE_GET_SET(charset)
+SIMPLE_GET_SET(src)
+SIMPLE_GET_SET(type)
 
 /**
  * Get the defer property
diff --git a/src/html/html_style_element.c b/src/html/html_style_element.c
index ae845be..6d4ecf6 100644
--- a/src/html/html_style_element.c
+++ b/src/html/html_style_element.c
@@ -180,8 +180,8 @@ dom_exception dom_html_style_element_set_##attr(			\
 	}
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
-SIMPLE_GET_SET(type);
-SIMPLE_GET_SET(media);
+SIMPLE_GET_SET(type)
+SIMPLE_GET_SET(media)
 
 /**
  * Get the disabled property
diff --git a/src/html/html_table_element.c b/src/html/html_table_element.c
index f197d07..a96717a 100644
--- a/src/html/html_table_element.c
+++ b/src/html/html_table_element.c
@@ -187,15 +187,15 @@ dom_exception _dom_html_table_element_copy_internal(
 }
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
-SIMPLE_GET_SET(align);
-SIMPLE_GET_SET(bg_color);
-SIMPLE_GET_SET(border);
-SIMPLE_GET_SET(cell_padding);
-SIMPLE_GET_SET(cell_spacing);
-SIMPLE_GET_SET(frame);
-SIMPLE_GET_SET(rules);
-SIMPLE_GET_SET(summary);
-SIMPLE_GET_SET(width);
+SIMPLE_GET_SET(align)
+SIMPLE_GET_SET(bg_color)
+SIMPLE_GET_SET(border)
+SIMPLE_GET_SET(cell_padding)
+SIMPLE_GET_SET(cell_spacing)
+SIMPLE_GET_SET(frame)
+SIMPLE_GET_SET(rules)
+SIMPLE_GET_SET(summary)
+SIMPLE_GET_SET(width)
 
 /**
  * Get the caption Attribute
diff --git a/src/html/html_tablecaption_element.c b/src/html/html_tablecaption_element.c
index cae229c..fa41525 100644
--- a/src/html/html_tablecaption_element.c
+++ b/src/html/html_tablecaption_element.c
@@ -183,5 +183,5 @@ dom_exception _dom_html_table_caption_element_copy_internal(
 			}
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
-SIMPLE_GET_SET(align);
+SIMPLE_GET_SET(align)
 
diff --git a/src/html/html_tablecell_element.c b/src/html/html_tablecell_element.c
index 7a1f968..a3b3095 100644
--- a/src/html/html_tablecell_element.c
+++ b/src/html/html_tablecell_element.c
@@ -185,17 +185,17 @@ dom_exception _dom_html_table_cell_element_copy_internal(
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(abbr);
-SIMPLE_GET_SET(align);
-SIMPLE_GET_SET(axis);
-SIMPLE_GET_SET(bg_color);
-SIMPLE_GET_SET(ch);
-SIMPLE_GET_SET(ch_off);
-SIMPLE_GET_SET(headers);
-SIMPLE_GET_SET(height);
-SIMPLE_GET_SET(scope);
-SIMPLE_GET_SET(v_align);
-SIMPLE_GET_SET(width);
+SIMPLE_GET_SET(abbr)
+SIMPLE_GET_SET(align)
+SIMPLE_GET_SET(axis)
+SIMPLE_GET_SET(bg_color)
+SIMPLE_GET_SET(ch)
+SIMPLE_GET_SET(ch_off)
+SIMPLE_GET_SET(headers)
+SIMPLE_GET_SET(height)
+SIMPLE_GET_SET(scope)
+SIMPLE_GET_SET(v_align)
+SIMPLE_GET_SET(width)
 
 /**
  * Get the cell_index property
diff --git a/src/html/html_tablecol_element.c b/src/html/html_tablecol_element.c
index 74169be..33be3e5 100644
--- a/src/html/html_tablecol_element.c
+++ b/src/html/html_tablecol_element.c
@@ -207,9 +207,9 @@ dom_exception _dom_html_table_col_element_copy_internal(
 			}
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
-SIMPLE_GET_SET(align);
-SIMPLE_GET_SET(ch);
-SIMPLE_GET_SET(ch_off);
-SIMPLE_GET_SET(v_align);
-SIMPLE_GET_SET(width);
+SIMPLE_GET_SET(align)
+SIMPLE_GET_SET(ch)
+SIMPLE_GET_SET(ch_off)
+SIMPLE_GET_SET(v_align)
+SIMPLE_GET_SET(width)
 
diff --git a/src/html/html_tablerow_element.c b/src/html/html_tablerow_element.c
index fe7d929..b1ac520 100644
--- a/src/html/html_tablerow_element.c
+++ b/src/html/html_tablerow_element.c
@@ -187,11 +187,11 @@ dom_exception _dom_html_table_row_element_copy_internal(
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(align);
-SIMPLE_GET_SET(bg_color);
-SIMPLE_GET_SET(ch);
-SIMPLE_GET_SET(ch_off);
-SIMPLE_GET_SET(v_align);
+SIMPLE_GET_SET(align)
+SIMPLE_GET_SET(bg_color)
+SIMPLE_GET_SET(ch)
+SIMPLE_GET_SET(ch_off)
+SIMPLE_GET_SET(v_align)
 
 /**
  * Get the index of the Row in logical order
diff --git a/src/html/html_tablesection_element.c b/src/html/html_tablesection_element.c
index f839758..7bb5289 100644
--- a/src/html/html_tablesection_element.c
+++ b/src/html/html_tablesection_element.c
@@ -187,10 +187,10 @@ dom_exception _dom_html_table_section_element_copy_internal(
 }
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
-SIMPLE_GET_SET(align);
-SIMPLE_GET_SET(ch);
-SIMPLE_GET_SET(ch_off);
-SIMPLE_GET_SET(v_align);
+SIMPLE_GET_SET(align)
+SIMPLE_GET_SET(ch)
+SIMPLE_GET_SET(ch_off)
+SIMPLE_GET_SET(v_align)
 
 /* The callback function for  _dom_html_collection_create*/
 static bool table_section_callback(struct dom_node_internal *node, void *ctx)
diff --git a/src/html/html_text_area_element.c b/src/html/html_text_area_element.c
index 6117e83..b031360 100644
--- a/src/html/html_text_area_element.c
+++ b/src/html/html_text_area_element.c
@@ -385,8 +385,8 @@ dom_exception dom_html_text_area_element_set_##attr(			\
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(access_key);
-SIMPLE_GET_SET(name);
+SIMPLE_GET_SET(access_key)
+SIMPLE_GET_SET(name)
 
 dom_exception dom_html_text_area_element_get_type(
 	dom_html_text_area_element *text_area, dom_string **type)
diff --git a/src/html/html_ulist_element.c b/src/html/html_ulist_element.c
index f2b87fb..11ecdfb 100644
--- a/src/html/html_ulist_element.c
+++ b/src/html/html_ulist_element.c
@@ -208,4 +208,4 @@ dom_exception _dom_html_u_list_element_copy_internal(
 
 #define SIMPLE_GET_SET(attr) SIMPLE_GET(attr) SIMPLE_SET(attr)
 
-SIMPLE_GET_SET(type);
+SIMPLE_GET_SET(type)
-- 
2.22.0