aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/canonical-multitouch/geis/0001-provide-function-declaration-with-prototypes.patch
blob: ddad1404f98214e087d24e3f681ecbc08470fc82 (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
From 05fe9751dfb370b0fb726e95bc36674468116db4 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 2 Sep 2022 16:57:51 -0700
Subject: [PATCH] provide function declaration with prototypes

Fixes build with clang-15+

Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 libgeis/backend/grail/geis_grail_window_grab.c           | 2 +-
 libgeis/backend/grail/geis_ugsubscription_store.c        | 2 +-
 libgeis/backend/grail/geis_ugsubscription_store.h        | 2 +-
 libgeis/backend/test_fixture/geis_backend_test_fixture.c | 4 ++--
 libgeis/geis.c                                           | 2 +-
 libgeis/geis_backend_multiplexor.c                       | 4 ++--
 libgeis/geis_backend_multiplexor.h                       | 2 +-
 libgeis/geis_class.c                                     | 2 +-
 libgeis/geis_class.h                                     | 2 +-
 libgeis/geis_device.c                                    | 2 +-
 libgeis/geis_device.h                                    | 2 +-
 libgeis/geis_event_queue.c                               | 2 +-
 libgeis/geis_event_queue.h                               | 2 +-
 libgeis/geis_filter.c                                    | 2 +-
 libgeis/geis_filter.h                                    | 2 +-
 libgeis/geis_filterable.c                                | 2 +-
 libgeis/geis_filterable.h                                | 2 +-
 libgeis/geis_frame.c                                     | 2 +-
 libgeis/geis_frame.h                                     | 2 +-
 libgeis/geis_group.c                                     | 2 +-
 libgeis/geis_group.h                                     | 2 +-
 libgeis/geis_region.c                                    | 2 +-
 libgeis/geis_region.h                                    | 2 +-
 libgeis/geis_touch.c                                     | 2 +-
 libgeis/geis_touch.h                                     | 2 +-
 libgeis/server/geis_dbus_client_proxy.c                  | 2 +-
 libgeis/server/geis_dbus_proxy_box.c                     | 2 +-
 libgeis/server/geis_dbus_proxy_box.h                     | 2 +-
 libs/geis-dbus/geis_dbus_dispatcher.c                    | 2 +-
 libs/geis-util/geis_logging.c                            | 2 +-
 testsuite/geis1/check_gesture_attrs.c                    | 2 +-
 testsuite/geis1/check_gesture_types.c                    | 2 +-
 testsuite/geis1/check_instance.c                         | 2 +-
 testsuite/geis1/check_subscription.c                     | 2 +-
 testsuite/geis2/check_attr.c                             | 2 +-
 testsuite/geis2/check_class.c                            | 2 +-
 testsuite/geis2/check_config.c                           | 2 +-
 testsuite/geis2/check_device.c                           | 2 +-
 testsuite/geis2/check_error_codes.c                      | 2 +-
 testsuite/geis2/check_event.c                            | 2 +-
 testsuite/geis2/check_filter.c                           | 2 +-
 testsuite/geis2/check_frame.c                            | 2 +-
 testsuite/geis2/check_geis_new.c                         | 2 +-
 testsuite/geis2/check_general_types.c                    | 2 +-
 testsuite/geis2/check_region.c                           | 2 +-
 testsuite/geis2/check_subscription.c                     | 2 +-
 tools/geis-server/geis-server.c                          | 2 +-
 47 files changed, 49 insertions(+), 49 deletions(-)

diff --git a/libgeis/backend/grail/geis_grail_window_grab.c b/libgeis/backend/grail/geis_grail_window_grab.c
index 003adee..f8480ac 100644
--- a/libgeis/backend/grail/geis_grail_window_grab.c
+++ b/libgeis/backend/grail/geis_grail_window_grab.c
@@ -49,7 +49,7 @@ static const GeisFloat _geis_grail_window_grab_store_growth_factor = 1.7;
 
 
 static GeisGrailWindowGrabStore
-_window_grab_allocate()
+_window_grab_allocate(void)
 {
   GeisGrailWindowGrabStore wgs = malloc(sizeof(struct GeisGrailWindowGrabStore));
   if (!wgs)
diff --git a/libgeis/backend/grail/geis_ugsubscription_store.c b/libgeis/backend/grail/geis_ugsubscription_store.c
index bb1f0bb..cb7e620 100644
--- a/libgeis/backend/grail/geis_ugsubscription_store.c
+++ b/libgeis/backend/grail/geis_ugsubscription_store.c
@@ -42,7 +42,7 @@ static const GeisFloat _geis_grail_ugsubscription_store_growth_factor = 1.7;
  * Creates a new, empty grail subscription store.
  */
 GeisUGSubscriptionStore
-geis_ugsubscription_store_new()
+geis_ugsubscription_store_new(void)
 {
   GeisUGSubscriptionStore store = geis_bag_new(sizeof(struct GeisUGSubscription),
                                   _geis_grail_ugsubscription_store_default_size,
diff --git a/libgeis/backend/grail/geis_ugsubscription_store.h b/libgeis/backend/grail/geis_ugsubscription_store.h
index a93e1b6..06273ef 100644
--- a/libgeis/backend/grail/geis_ugsubscription_store.h
+++ b/libgeis/backend/grail/geis_ugsubscription_store.h
@@ -41,7 +41,7 @@ typedef GeisBag GeisUGSubscriptionStore;
  * @returns a pointer to a valid store, or NULL to indicate failure.
  */
 GeisUGSubscriptionStore
-geis_ugsubscription_store_new();
+geis_ugsubscription_store_new(void);
 
 /**
  * Destroys a grail subscription store.
diff --git a/libgeis/backend/test_fixture/geis_backend_test_fixture.c b/libgeis/backend/test_fixture/geis_backend_test_fixture.c
index 5912acb..099cde4 100644
--- a/libgeis/backend/test_fixture/geis_backend_test_fixture.c
+++ b/libgeis/backend/test_fixture/geis_backend_test_fixture.c
@@ -434,7 +434,7 @@ _token_free_subscription_pdata(GeisBackendToken gbtoken GEIS_UNUSED,
 }
 
 __attribute__((constructor))
-static void _register_test_fixture()
+static void _register_test_fixture(void)
 {
   geis_register_backend(GEIS_INIT_MOCK_BACKEND,
                         sizeof(struct GeisBackendTestFixture),
@@ -444,6 +444,6 @@ static void _register_test_fixture()
 
 /* A dummy routine to force linkage of this module without dlopening it */
 void
-geis_include_backend_test_fixture()
+geis_include_backend_test_fixture(void)
 {
 }
diff --git a/libgeis/geis.c b/libgeis/geis.c
index 4290d19..3f7bd12 100644
--- a/libgeis/geis.c
+++ b/libgeis/geis.c
@@ -402,7 +402,7 @@ geis_filterable_attribute_foreach(Geis geis,
  * Creates a new empty Geis API instance.
  */
 static Geis
-geis_new_empty()
+geis_new_empty(void)
 {
   geis_error_clear(NULL);
   Geis geis = calloc(1, sizeof(struct _Geis));
diff --git a/libgeis/geis_backend_multiplexor.c b/libgeis/geis_backend_multiplexor.c
index 3f80080..0f76198 100644
--- a/libgeis/geis_backend_multiplexor.c
+++ b/libgeis/geis_backend_multiplexor.c
@@ -60,7 +60,7 @@ struct _GeisBackendMultiplexor
  * Creates a new container for callback info.
  */
 static CallbackInfoBag
-_callback_info_bag_new()
+_callback_info_bag_new(void)
 {
   CallbackInfoBag cbib = calloc(1, sizeof(struct CallbackInfoBag));
   if (!cbib)
@@ -209,7 +209,7 @@ _callback_info_bag_release(CallbackInfoBag cbib, int fd)
  * Creates a new backend multiplexor.
  */
 GeisBackendMultiplexor
-geis_backend_multiplexor_new()
+geis_backend_multiplexor_new(void)
 {
   GeisBackendMultiplexor mx = calloc(1, sizeof(struct _GeisBackendMultiplexor));
   if (!mx)
diff --git a/libgeis/geis_backend_multiplexor.h b/libgeis/geis_backend_multiplexor.h
index ff4c318..8e7102e 100644
--- a/libgeis/geis_backend_multiplexor.h
+++ b/libgeis/geis_backend_multiplexor.h
@@ -74,7 +74,7 @@ typedef void (*GeisBackendFdEventCallback)(int                             fd,
 /**
  * Constructs a new back end multiplexor.
  */
-GeisBackendMultiplexor geis_backend_multiplexor_new();
+GeisBackendMultiplexor geis_backend_multiplexor_new(void);
 
 /**
  * A reasonable default value for the max_events_per_pump parameter to
diff --git a/libgeis/geis_class.c b/libgeis/geis_class.c
index e889e4b..5c26a87 100644
--- a/libgeis/geis_class.c
+++ b/libgeis/geis_class.c
@@ -46,7 +46,7 @@ static const int gesture_class_bag_growth_constant = 2;
  * Creates a new class bag,
  */
 GeisGestureClassBag
-geis_gesture_class_bag_new()
+geis_gesture_class_bag_new(void)
 {
   GeisGestureClassBag bag = calloc(1, sizeof(struct _GeisGestureClassBag));
   if (!bag)
diff --git a/libgeis/geis_class.h b/libgeis/geis_class.h
index 1d60998..724c353 100644
--- a/libgeis/geis_class.h
+++ b/libgeis/geis_class.h
@@ -35,7 +35,7 @@ typedef struct _GeisGestureClassBag *GeisGestureClassBag;
 /**
  * Creates a new class bag,
  */
-GeisGestureClassBag geis_gesture_class_bag_new();
+GeisGestureClassBag geis_gesture_class_bag_new(void);
 
 /**
  * Destroys a gesture class bag.
diff --git a/libgeis/geis_device.c b/libgeis/geis_device.c
index 1f61fc1..ff3216b 100644
--- a/libgeis/geis_device.c
+++ b/libgeis/geis_device.c
@@ -44,7 +44,7 @@ static const int device_bag_growth_constant = 2;
 
 
 GeisDeviceBag
-geis_device_bag_new()
+geis_device_bag_new(void)
 {
   GeisDeviceBag bag = calloc(1, sizeof(struct _GeisDeviceBag));
   if (!bag)
diff --git a/libgeis/geis_device.h b/libgeis/geis_device.h
index c411e54..707943b 100644
--- a/libgeis/geis_device.h
+++ b/libgeis/geis_device.h
@@ -35,7 +35,7 @@ typedef struct _GeisDeviceBag *GeisDeviceBag;
 /**
  * Creates a new device bag,
  */
-GeisDeviceBag geis_device_bag_new();
+GeisDeviceBag geis_device_bag_new(void);
 
 /**
  * Destroys a device bag.
diff --git a/libgeis/geis_event_queue.c b/libgeis/geis_event_queue.c
index 0b7d0fb..f357683 100644
--- a/libgeis/geis_event_queue.c
+++ b/libgeis/geis_event_queue.c
@@ -50,7 +50,7 @@ struct _GeisEventQueue
  * Creates a new Geis Event queue.
  */
 GeisEventQueue
-geis_event_queue_new()
+geis_event_queue_new(void)
 {
   GeisEventQueue queue = calloc(1, sizeof(struct _GeisEventQueue));
   if (!queue)
diff --git a/libgeis/geis_event_queue.h b/libgeis/geis_event_queue.h
index e4c186d..5f3da1d 100644
--- a/libgeis/geis_event_queue.h
+++ b/libgeis/geis_event_queue.h
@@ -41,7 +41,7 @@ typedef struct _GeisEventQueue *GeisEventQueue;
 /**
  * Creates a new Geis Event queue.
  */
-GeisEventQueue geis_event_queue_new();
+GeisEventQueue geis_event_queue_new(void);
 
 /**
  * Destroys a Geis Event queue.
diff --git a/libgeis/geis_filter.c b/libgeis/geis_filter.c
index 4fe5da6..83d65a8 100644
--- a/libgeis/geis_filter.c
+++ b/libgeis/geis_filter.c
@@ -57,7 +57,7 @@ static GeisSize s_filter_oid = 0;
  * Creates a new filter bag,
  */
 GeisFilterBag
-geis_filter_bag_new()
+geis_filter_bag_new(void)
 {
   GeisFilterBag bag = calloc(1, sizeof(struct _GeisFilterBag));
   if (!bag)
diff --git a/libgeis/geis_filter.h b/libgeis/geis_filter.h
index 7b613bf..f825bb7 100644
--- a/libgeis/geis_filter.h
+++ b/libgeis/geis_filter.h
@@ -42,7 +42,7 @@ typedef GeisFilter *GeisFilterIterator;
 /**
  * Creates a new filter bag,
  */
-GeisFilterBag geis_filter_bag_new();
+GeisFilterBag geis_filter_bag_new(void);
 
 /**
  * Destroys a filter bag.
diff --git a/libgeis/geis_filterable.c b/libgeis/geis_filterable.c
index 57bd4ac..5fb4b0c 100644
--- a/libgeis/geis_filterable.c
+++ b/libgeis/geis_filterable.c
@@ -40,7 +40,7 @@ struct FilterableAttributeBag
  * Constructs a new filterable attribute bag.
  */
 FilterableAttributeBag
-geis_filterable_attribute_bag_new()
+geis_filterable_attribute_bag_new(void)
 {
   FilterableAttributeBag bag = calloc(1, sizeof(struct FilterableAttributeBag));
   if (!bag)
diff --git a/libgeis/geis_filterable.h b/libgeis/geis_filterable.h
index 6d400fc..63c563d 100644
--- a/libgeis/geis_filterable.h
+++ b/libgeis/geis_filterable.h
@@ -86,7 +86,7 @@ geis_filterable_attribute_init(GeisFilterableAttribute fa,
  * Constructs a new filterable attribute bag.
  */
 FilterableAttributeBag
-geis_filterable_attribute_bag_new();
+geis_filterable_attribute_bag_new(void);
 
 /**
  * Destroys a filterable attribute bag.
diff --git a/libgeis/geis_frame.c b/libgeis/geis_frame.c
index ebe11a1..068d9aa 100644
--- a/libgeis/geis_frame.c
+++ b/libgeis/geis_frame.c
@@ -57,7 +57,7 @@ struct _GeisFrameSet
  * Creates a new, empty frame set.
  */
 GeisFrameSet
-geis_frameset_new()
+geis_frameset_new(void)
 {
   GeisFrameSet frameset = calloc(1, sizeof(struct _GeisFrameSet));
   if (!frameset)
diff --git a/libgeis/geis_frame.h b/libgeis/geis_frame.h
index e0d1eb6..4a4b0ba 100644
--- a/libgeis/geis_frame.h
+++ b/libgeis/geis_frame.h
@@ -32,7 +32,7 @@ typedef struct _GeisFrameSet *GeisFrameSet;
 /**
  * Creates a new, empty frame set.
  */
-GeisFrameSet geis_frameset_new();
+GeisFrameSet geis_frameset_new(void);
 
 /**
  * Destroys a frame set and all framees contained in it.
diff --git a/libgeis/geis_group.c b/libgeis/geis_group.c
index 0829bd4..4c51a39 100644
--- a/libgeis/geis_group.c
+++ b/libgeis/geis_group.c
@@ -42,7 +42,7 @@ struct _GeisGroupSet
  * Creates a new, empty group set.
  */
 GeisGroupSet
-geis_groupset_new()
+geis_groupset_new(void)
 {
   GeisGroupSet groupset = calloc(1, sizeof(struct _GeisGroupSet));
   if (!groupset)
diff --git a/libgeis/geis_group.h b/libgeis/geis_group.h
index 76e0efc..c44ce62 100644
--- a/libgeis/geis_group.h
+++ b/libgeis/geis_group.h
@@ -31,7 +31,7 @@
 /**
  * Creates a new, empty group set.
  */
-GeisGroupSet geis_groupset_new();
+GeisGroupSet geis_groupset_new(void);
 
 /**
  * Destroys a group set and all groups contained in it.
diff --git a/libgeis/geis_region.c b/libgeis/geis_region.c
index fc8cc1e..18181cb 100644
--- a/libgeis/geis_region.c
+++ b/libgeis/geis_region.c
@@ -52,7 +52,7 @@ static const int region_bag_growth_constant = 2;
  * Constructs a region bag.
  */
 GeisRegionBag
-geis_region_bag_new()
+geis_region_bag_new(void)
 {
   GeisRegionBag bag = calloc(1, sizeof(struct _GeisRegionBag));
   if (!bag)
diff --git a/libgeis/geis_region.h b/libgeis/geis_region.h
index 53a52b8..18d908f 100644
--- a/libgeis/geis_region.h
+++ b/libgeis/geis_region.h
@@ -49,7 +49,7 @@ typedef struct _GeisRegionBag *GeisRegionBag;
 /**
  * Creates a new region bag.
  */
-GeisRegionBag geis_region_bag_new();
+GeisRegionBag geis_region_bag_new(void);
 
 /**
  * Destroys a region bag.
diff --git a/libgeis/geis_touch.c b/libgeis/geis_touch.c
index 74d1b3e..be0f1a7 100644
--- a/libgeis/geis_touch.c
+++ b/libgeis/geis_touch.c
@@ -43,7 +43,7 @@ struct _GeisTouchSet
  * Creates a new, empty touch set.
  */
 GeisTouchSet
-geis_touchset_new()
+geis_touchset_new(void)
 {
   GeisTouchSet touchset = calloc(1, sizeof(struct _GeisTouchSet));
   if (!touchset)
diff --git a/libgeis/geis_touch.h b/libgeis/geis_touch.h
index 62af610..b64c755 100644
--- a/libgeis/geis_touch.h
+++ b/libgeis/geis_touch.h
@@ -30,7 +30,7 @@
 /**
  * Creates a new, empty touch set.
  */
-GeisTouchSet geis_touchset_new();
+GeisTouchSet geis_touchset_new(void);
 
 /**
  * Destroys a touch set and all touches contained in it.
diff --git a/libgeis/server/geis_dbus_client_proxy.c b/libgeis/server/geis_dbus_client_proxy.c
index 3f1af47..65f229b 100644
--- a/libgeis/server/geis_dbus_client_proxy.c
+++ b/libgeis/server/geis_dbus_client_proxy.c
@@ -52,7 +52,7 @@ struct GeisDBusClientProxy
  * failure.
  */
 GeisDBusClientProxy
-_client_proxy_allocate()
+_client_proxy_allocate(void)
 {
   GeisDBusClientProxy proxy = calloc(1, sizeof(struct GeisDBusClientProxy));
   return proxy;
diff --git a/libgeis/server/geis_dbus_proxy_box.c b/libgeis/server/geis_dbus_proxy_box.c
index 4c7752a..f129bc3 100644
--- a/libgeis/server/geis_dbus_proxy_box.c
+++ b/libgeis/server/geis_dbus_proxy_box.c
@@ -49,7 +49,7 @@ struct GeisDBusProxyBox
  * Constructs a %GeisDBusProxyBox.
  */
 GeisDBusProxyBox
-geis_dbus_proxy_box_new()
+geis_dbus_proxy_box_new(void)
 {
   GeisDBusProxyBox box = calloc(1, sizeof(struct GeisDBusProxyBox));
   if (!box)
diff --git a/libgeis/server/geis_dbus_proxy_box.h b/libgeis/server/geis_dbus_proxy_box.h
index d8a70f5..47e84b7 100644
--- a/libgeis/server/geis_dbus_proxy_box.h
+++ b/libgeis/server/geis_dbus_proxy_box.h
@@ -47,7 +47,7 @@ typedef struct GeisDBusProxyBoxNode *GeisDBusProxyBoxIterator;
  * @returns a valid %GeisDBusProxyBox or NULL on failure.
  */
 GeisDBusProxyBox
-geis_dbus_proxy_box_new();
+geis_dbus_proxy_box_new(void);
 
 /**
  * Destroys a %GeisDBusProxyBox.
diff --git a/libs/geis-dbus/geis_dbus_dispatcher.c b/libs/geis-dbus/geis_dbus_dispatcher.c
index 10c4134..d8a3f9d 100644
--- a/libs/geis-dbus/geis_dbus_dispatcher.c
+++ b/libs/geis-dbus/geis_dbus_dispatcher.c
@@ -82,7 +82,7 @@ struct GeisDBusDispatcher
  * assumption that if you're creating a bag you're going to use it.
  */
 static GeisDBusWatchBag 
-_geis_dbus_watch_bag_new()
+_geis_dbus_watch_bag_new(void)
 {
   GeisDBusWatchBag bag = calloc(1, sizeof(struct GeisDBusWatchBag));
   if (!bag)
diff --git a/libs/geis-util/geis_logging.c b/libs/geis-util/geis_logging.c
index a02077b..030a591 100644
--- a/libs/geis-util/geis_logging.c
+++ b/libs/geis-util/geis_logging.c
@@ -31,7 +31,7 @@ static const char *error_marker   = "error";
 
 
 static int
-reporting_level()
+reporting_level(void)
 {
   char *level = getenv("GEIS_DEBUG");
   if (level)
diff --git a/testsuite/geis1/check_gesture_attrs.c b/testsuite/geis1/check_gesture_attrs.c
index 2228d2f..d990c7c 100644
--- a/testsuite/geis1/check_gesture_attrs.c
+++ b/testsuite/geis1/check_gesture_attrs.c
@@ -169,7 +169,7 @@ END_TEST
 
 
 Suite *
-geis1_gesture_attrs_new()
+geis1_gesture_attrs_new(void)
 {
   Suite *s = suite_create("geis1_gesture_attrs");
   TCase *test;
diff --git a/testsuite/geis1/check_gesture_types.c b/testsuite/geis1/check_gesture_types.c
index 3492062..980f8fb 100644
--- a/testsuite/geis1/check_gesture_types.c
+++ b/testsuite/geis1/check_gesture_types.c
@@ -62,7 +62,7 @@ START_TEST(gesture_types)
 END_TEST
 
 Suite *
-geis1_gesture_types_new()
+geis1_gesture_types_new(void)
 {
   Suite *s = suite_create("geis1_gesture_types");
   TCase *test;
diff --git a/testsuite/geis1/check_instance.c b/testsuite/geis1/check_instance.c
index ac897ab..584abfd 100644
--- a/testsuite/geis1/check_instance.c
+++ b/testsuite/geis1/check_instance.c
@@ -44,7 +44,7 @@ END_TEST
 
 
 Suite *
-geis1_instance_suite_new()
+geis1_instance_suite_new(void)
 {
   TCase *create;
   Suite *s = suite_create("geis1_instance_suite");
diff --git a/testsuite/geis1/check_subscription.c b/testsuite/geis1/check_subscription.c
index 0797337..e69c332 100644
--- a/testsuite/geis1/check_subscription.c
+++ b/testsuite/geis1/check_subscription.c
@@ -146,7 +146,7 @@ END_TEST
 
 
 Suite *
-geis1_subscription_new()
+geis1_subscription_new(void)
 {
   Suite *s = suite_create("geis1_subscription");
   TCase *test;
diff --git a/testsuite/geis2/check_attr.c b/testsuite/geis2/check_attr.c
index 9e01219..58c8ebc 100644
--- a/testsuite/geis2/check_attr.c
+++ b/testsuite/geis2/check_attr.c
@@ -42,7 +42,7 @@ END_TEST
 
 /* boilerplate */
 Suite *
-geis2_attr_suite_new()
+geis2_attr_suite_new(void)
 {
   Suite *s = suite_create("geis2_attr");
 
diff --git a/testsuite/geis2/check_class.c b/testsuite/geis2/check_class.c
index ca7accd..b60d827 100644
--- a/testsuite/geis2/check_class.c
+++ b/testsuite/geis2/check_class.c
@@ -92,7 +92,7 @@ END_TEST
 
 /* boilerplate */
 Suite *
-geis2_gesture_class_suite_new()
+geis2_gesture_class_suite_new(void)
 {
   TCase *gesture_class;
   TCase *usage;
diff --git a/testsuite/geis2/check_config.c b/testsuite/geis2/check_config.c
index a9fc9c1..03b3137 100644
--- a/testsuite/geis2/check_config.c
+++ b/testsuite/geis2/check_config.c
@@ -48,7 +48,7 @@ END_TEST
 
 /* boilerplate */
 Suite *
-geis2_config_suite_new()
+geis2_config_suite_new(void)
 {
   Suite *s = suite_create("geis2_configuration");
 
diff --git a/testsuite/geis2/check_device.c b/testsuite/geis2/check_device.c
index 8b3b7be..9583cb5 100644
--- a/testsuite/geis2/check_device.c
+++ b/testsuite/geis2/check_device.c
@@ -99,7 +99,7 @@ END_TEST
 
 /* boilerplate */
 Suite *
-geis2_device_suite_new()
+geis2_device_suite_new(void)
 {
   TCase *device;
   TCase *usage;
diff --git a/testsuite/geis2/check_error_codes.c b/testsuite/geis2/check_error_codes.c
index 9c7508d..57e7fc7 100644
--- a/testsuite/geis2/check_error_codes.c
+++ b/testsuite/geis2/check_error_codes.c
@@ -20,7 +20,7 @@ END_TEST
 
 /* boilerplate */
 Suite *
-geis2_error_codes_suite_new()
+geis2_error_codes_suite_new(void)
 {
   Suite *s = suite_create("geis2_error_codes");
 
diff --git a/testsuite/geis2/check_event.c b/testsuite/geis2/check_event.c
index 8ecda1d..c752a30 100644
--- a/testsuite/geis2/check_event.c
+++ b/testsuite/geis2/check_event.c
@@ -43,7 +43,7 @@ END_TEST
 
 /* boilerplate */
 Suite *
-geis2_event_suite_new()
+geis2_event_suite_new(void)
 {
   Suite *s = suite_create("geis2_event");
 
diff --git a/testsuite/geis2/check_filter.c b/testsuite/geis2/check_filter.c
index 3272a2a..afa23e5 100644
--- a/testsuite/geis2/check_filter.c
+++ b/testsuite/geis2/check_filter.c
@@ -67,7 +67,7 @@ END_TEST
 
 /* boilerplate */
 Suite *
-geis2_filter_suite_new()
+geis2_filter_suite_new(void)
 {
   TCase *filter;
   TCase *usage;
diff --git a/testsuite/geis2/check_frame.c b/testsuite/geis2/check_frame.c
index dce6faf..3ea3db0 100644
--- a/testsuite/geis2/check_frame.c
+++ b/testsuite/geis2/check_frame.c
@@ -172,7 +172,7 @@ END_TEST
 
 /* boilerplate */
 Suite *
-geis2_gesture_frame_suite_new()
+geis2_gesture_frame_suite_new(void)
 {
   Suite *s = suite_create("geis2_gesture_frame");
   TCase *gesture_frame;
diff --git a/testsuite/geis2/check_geis_new.c b/testsuite/geis2/check_geis_new.c
index 1fb8de2..36cd3e9 100644
--- a/testsuite/geis2/check_geis_new.c
+++ b/testsuite/geis2/check_geis_new.c
@@ -32,7 +32,7 @@ END_TEST
 
 /* boilerplate */
 Suite *
-geis2_geis_new_suite_new()
+geis2_geis_new_suite_new(void)
 {
   Suite *s = suite_create("geis2_geis_init");
 
diff --git a/testsuite/geis2/check_general_types.c b/testsuite/geis2/check_general_types.c
index 79e29bb..0f463d4 100644
--- a/testsuite/geis2/check_general_types.c
+++ b/testsuite/geis2/check_general_types.c
@@ -20,7 +20,7 @@ END_TEST
 
 /* boilerplate */
 Suite *
-geis2_general_types_suite_new()
+geis2_general_types_suite_new(void)
 {
   Suite *s = suite_create("geis2_general_types");
   TCase *create;
diff --git a/testsuite/geis2/check_region.c b/testsuite/geis2/check_region.c
index 3e64e0c..606350a 100644
--- a/testsuite/geis2/check_region.c
+++ b/testsuite/geis2/check_region.c
@@ -48,7 +48,7 @@ END_TEST
 
 /* boilerplate */
 Suite *
-geis2_region_suite_new()
+geis2_region_suite_new(void)
 {
   Suite *s = suite_create("geis2_region");
   TCase *creation;
diff --git a/testsuite/geis2/check_subscription.c b/testsuite/geis2/check_subscription.c
index a45c4ad..17a6779 100644
--- a/testsuite/geis2/check_subscription.c
+++ b/testsuite/geis2/check_subscription.c
@@ -161,7 +161,7 @@ END_TEST
 
 /* boilerplate */
 Suite *
-geis2_subscription_suite_new()
+geis2_subscription_suite_new(void)
 {
   TCase *create;
   TCase *usage;
diff --git a/tools/geis-server/geis-server.c b/tools/geis-server/geis-server.c
index 97c8b99..6600d8f 100644
--- a/tools/geis-server/geis-server.c
+++ b/tools/geis-server/geis-server.c
@@ -23,7 +23,7 @@
 
 
 int
-main()
+main(void)
 {
   GeisStatus status;
 
-- 
2.37.3