diff options
| -rw-r--r-- | meta-oe/recipes-support/canonical-multitouch/geis/0001-provide-function-declaration-with-prototypes.patch | 690 | ||||
| -rw-r--r-- | meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb | 1 |
2 files changed, 691 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/canonical-multitouch/geis/0001-provide-function-declaration-with-prototypes.patch b/meta-oe/recipes-support/canonical-multitouch/geis/0001-provide-function-declaration-with-prototypes.patch new file mode 100644 index 0000000000..ddad1404f9 --- /dev/null +++ b/meta-oe/recipes-support/canonical-multitouch/geis/0001-provide-function-declaration-with-prototypes.patch | |||
| @@ -0,0 +1,690 @@ | |||
| 1 | From 05fe9751dfb370b0fb726e95bc36674468116db4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Fri, 2 Sep 2022 16:57:51 -0700 | ||
| 4 | Subject: [PATCH] provide function declaration with prototypes | ||
| 5 | |||
| 6 | Fixes build with clang-15+ | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | libgeis/backend/grail/geis_grail_window_grab.c | 2 +- | ||
| 12 | libgeis/backend/grail/geis_ugsubscription_store.c | 2 +- | ||
| 13 | libgeis/backend/grail/geis_ugsubscription_store.h | 2 +- | ||
| 14 | libgeis/backend/test_fixture/geis_backend_test_fixture.c | 4 ++-- | ||
| 15 | libgeis/geis.c | 2 +- | ||
| 16 | libgeis/geis_backend_multiplexor.c | 4 ++-- | ||
| 17 | libgeis/geis_backend_multiplexor.h | 2 +- | ||
| 18 | libgeis/geis_class.c | 2 +- | ||
| 19 | libgeis/geis_class.h | 2 +- | ||
| 20 | libgeis/geis_device.c | 2 +- | ||
| 21 | libgeis/geis_device.h | 2 +- | ||
| 22 | libgeis/geis_event_queue.c | 2 +- | ||
| 23 | libgeis/geis_event_queue.h | 2 +- | ||
| 24 | libgeis/geis_filter.c | 2 +- | ||
| 25 | libgeis/geis_filter.h | 2 +- | ||
| 26 | libgeis/geis_filterable.c | 2 +- | ||
| 27 | libgeis/geis_filterable.h | 2 +- | ||
| 28 | libgeis/geis_frame.c | 2 +- | ||
| 29 | libgeis/geis_frame.h | 2 +- | ||
| 30 | libgeis/geis_group.c | 2 +- | ||
| 31 | libgeis/geis_group.h | 2 +- | ||
| 32 | libgeis/geis_region.c | 2 +- | ||
| 33 | libgeis/geis_region.h | 2 +- | ||
| 34 | libgeis/geis_touch.c | 2 +- | ||
| 35 | libgeis/geis_touch.h | 2 +- | ||
| 36 | libgeis/server/geis_dbus_client_proxy.c | 2 +- | ||
| 37 | libgeis/server/geis_dbus_proxy_box.c | 2 +- | ||
| 38 | libgeis/server/geis_dbus_proxy_box.h | 2 +- | ||
| 39 | libs/geis-dbus/geis_dbus_dispatcher.c | 2 +- | ||
| 40 | libs/geis-util/geis_logging.c | 2 +- | ||
| 41 | testsuite/geis1/check_gesture_attrs.c | 2 +- | ||
| 42 | testsuite/geis1/check_gesture_types.c | 2 +- | ||
| 43 | testsuite/geis1/check_instance.c | 2 +- | ||
| 44 | testsuite/geis1/check_subscription.c | 2 +- | ||
| 45 | testsuite/geis2/check_attr.c | 2 +- | ||
| 46 | testsuite/geis2/check_class.c | 2 +- | ||
| 47 | testsuite/geis2/check_config.c | 2 +- | ||
| 48 | testsuite/geis2/check_device.c | 2 +- | ||
| 49 | testsuite/geis2/check_error_codes.c | 2 +- | ||
| 50 | testsuite/geis2/check_event.c | 2 +- | ||
| 51 | testsuite/geis2/check_filter.c | 2 +- | ||
| 52 | testsuite/geis2/check_frame.c | 2 +- | ||
| 53 | testsuite/geis2/check_geis_new.c | 2 +- | ||
| 54 | testsuite/geis2/check_general_types.c | 2 +- | ||
| 55 | testsuite/geis2/check_region.c | 2 +- | ||
| 56 | testsuite/geis2/check_subscription.c | 2 +- | ||
| 57 | tools/geis-server/geis-server.c | 2 +- | ||
| 58 | 47 files changed, 49 insertions(+), 49 deletions(-) | ||
| 59 | |||
| 60 | diff --git a/libgeis/backend/grail/geis_grail_window_grab.c b/libgeis/backend/grail/geis_grail_window_grab.c | ||
| 61 | index 003adee..f8480ac 100644 | ||
| 62 | --- a/libgeis/backend/grail/geis_grail_window_grab.c | ||
| 63 | +++ b/libgeis/backend/grail/geis_grail_window_grab.c | ||
| 64 | @@ -49,7 +49,7 @@ static const GeisFloat _geis_grail_window_grab_store_growth_factor = 1.7; | ||
| 65 | |||
| 66 | |||
| 67 | static GeisGrailWindowGrabStore | ||
| 68 | -_window_grab_allocate() | ||
| 69 | +_window_grab_allocate(void) | ||
| 70 | { | ||
| 71 | GeisGrailWindowGrabStore wgs = malloc(sizeof(struct GeisGrailWindowGrabStore)); | ||
| 72 | if (!wgs) | ||
| 73 | diff --git a/libgeis/backend/grail/geis_ugsubscription_store.c b/libgeis/backend/grail/geis_ugsubscription_store.c | ||
| 74 | index bb1f0bb..cb7e620 100644 | ||
| 75 | --- a/libgeis/backend/grail/geis_ugsubscription_store.c | ||
| 76 | +++ b/libgeis/backend/grail/geis_ugsubscription_store.c | ||
| 77 | @@ -42,7 +42,7 @@ static const GeisFloat _geis_grail_ugsubscription_store_growth_factor = 1.7; | ||
| 78 | * Creates a new, empty grail subscription store. | ||
| 79 | */ | ||
| 80 | GeisUGSubscriptionStore | ||
| 81 | -geis_ugsubscription_store_new() | ||
| 82 | +geis_ugsubscription_store_new(void) | ||
| 83 | { | ||
| 84 | GeisUGSubscriptionStore store = geis_bag_new(sizeof(struct GeisUGSubscription), | ||
| 85 | _geis_grail_ugsubscription_store_default_size, | ||
| 86 | diff --git a/libgeis/backend/grail/geis_ugsubscription_store.h b/libgeis/backend/grail/geis_ugsubscription_store.h | ||
| 87 | index a93e1b6..06273ef 100644 | ||
| 88 | --- a/libgeis/backend/grail/geis_ugsubscription_store.h | ||
| 89 | +++ b/libgeis/backend/grail/geis_ugsubscription_store.h | ||
| 90 | @@ -41,7 +41,7 @@ typedef GeisBag GeisUGSubscriptionStore; | ||
| 91 | * @returns a pointer to a valid store, or NULL to indicate failure. | ||
| 92 | */ | ||
| 93 | GeisUGSubscriptionStore | ||
| 94 | -geis_ugsubscription_store_new(); | ||
| 95 | +geis_ugsubscription_store_new(void); | ||
| 96 | |||
| 97 | /** | ||
| 98 | * Destroys a grail subscription store. | ||
| 99 | diff --git a/libgeis/backend/test_fixture/geis_backend_test_fixture.c b/libgeis/backend/test_fixture/geis_backend_test_fixture.c | ||
| 100 | index 5912acb..099cde4 100644 | ||
| 101 | --- a/libgeis/backend/test_fixture/geis_backend_test_fixture.c | ||
| 102 | +++ b/libgeis/backend/test_fixture/geis_backend_test_fixture.c | ||
| 103 | @@ -434,7 +434,7 @@ _token_free_subscription_pdata(GeisBackendToken gbtoken GEIS_UNUSED, | ||
| 104 | } | ||
| 105 | |||
| 106 | __attribute__((constructor)) | ||
| 107 | -static void _register_test_fixture() | ||
| 108 | +static void _register_test_fixture(void) | ||
| 109 | { | ||
| 110 | geis_register_backend(GEIS_INIT_MOCK_BACKEND, | ||
| 111 | sizeof(struct GeisBackendTestFixture), | ||
| 112 | @@ -444,6 +444,6 @@ static void _register_test_fixture() | ||
| 113 | |||
| 114 | /* A dummy routine to force linkage of this module without dlopening it */ | ||
| 115 | void | ||
| 116 | -geis_include_backend_test_fixture() | ||
| 117 | +geis_include_backend_test_fixture(void) | ||
| 118 | { | ||
| 119 | } | ||
| 120 | diff --git a/libgeis/geis.c b/libgeis/geis.c | ||
| 121 | index 4290d19..3f7bd12 100644 | ||
| 122 | --- a/libgeis/geis.c | ||
| 123 | +++ b/libgeis/geis.c | ||
| 124 | @@ -402,7 +402,7 @@ geis_filterable_attribute_foreach(Geis geis, | ||
| 125 | * Creates a new empty Geis API instance. | ||
| 126 | */ | ||
| 127 | static Geis | ||
| 128 | -geis_new_empty() | ||
| 129 | +geis_new_empty(void) | ||
| 130 | { | ||
| 131 | geis_error_clear(NULL); | ||
| 132 | Geis geis = calloc(1, sizeof(struct _Geis)); | ||
| 133 | diff --git a/libgeis/geis_backend_multiplexor.c b/libgeis/geis_backend_multiplexor.c | ||
| 134 | index 3f80080..0f76198 100644 | ||
| 135 | --- a/libgeis/geis_backend_multiplexor.c | ||
| 136 | +++ b/libgeis/geis_backend_multiplexor.c | ||
| 137 | @@ -60,7 +60,7 @@ struct _GeisBackendMultiplexor | ||
| 138 | * Creates a new container for callback info. | ||
| 139 | */ | ||
| 140 | static CallbackInfoBag | ||
| 141 | -_callback_info_bag_new() | ||
| 142 | +_callback_info_bag_new(void) | ||
| 143 | { | ||
| 144 | CallbackInfoBag cbib = calloc(1, sizeof(struct CallbackInfoBag)); | ||
| 145 | if (!cbib) | ||
| 146 | @@ -209,7 +209,7 @@ _callback_info_bag_release(CallbackInfoBag cbib, int fd) | ||
| 147 | * Creates a new backend multiplexor. | ||
| 148 | */ | ||
| 149 | GeisBackendMultiplexor | ||
| 150 | -geis_backend_multiplexor_new() | ||
| 151 | +geis_backend_multiplexor_new(void) | ||
| 152 | { | ||
| 153 | GeisBackendMultiplexor mx = calloc(1, sizeof(struct _GeisBackendMultiplexor)); | ||
| 154 | if (!mx) | ||
| 155 | diff --git a/libgeis/geis_backend_multiplexor.h b/libgeis/geis_backend_multiplexor.h | ||
| 156 | index ff4c318..8e7102e 100644 | ||
| 157 | --- a/libgeis/geis_backend_multiplexor.h | ||
| 158 | +++ b/libgeis/geis_backend_multiplexor.h | ||
| 159 | @@ -74,7 +74,7 @@ typedef void (*GeisBackendFdEventCallback)(int fd, | ||
| 160 | /** | ||
| 161 | * Constructs a new back end multiplexor. | ||
| 162 | */ | ||
| 163 | -GeisBackendMultiplexor geis_backend_multiplexor_new(); | ||
| 164 | +GeisBackendMultiplexor geis_backend_multiplexor_new(void); | ||
| 165 | |||
| 166 | /** | ||
| 167 | * A reasonable default value for the max_events_per_pump parameter to | ||
| 168 | diff --git a/libgeis/geis_class.c b/libgeis/geis_class.c | ||
| 169 | index e889e4b..5c26a87 100644 | ||
| 170 | --- a/libgeis/geis_class.c | ||
| 171 | +++ b/libgeis/geis_class.c | ||
| 172 | @@ -46,7 +46,7 @@ static const int gesture_class_bag_growth_constant = 2; | ||
| 173 | * Creates a new class bag, | ||
| 174 | */ | ||
| 175 | GeisGestureClassBag | ||
| 176 | -geis_gesture_class_bag_new() | ||
| 177 | +geis_gesture_class_bag_new(void) | ||
| 178 | { | ||
| 179 | GeisGestureClassBag bag = calloc(1, sizeof(struct _GeisGestureClassBag)); | ||
| 180 | if (!bag) | ||
| 181 | diff --git a/libgeis/geis_class.h b/libgeis/geis_class.h | ||
| 182 | index 1d60998..724c353 100644 | ||
| 183 | --- a/libgeis/geis_class.h | ||
| 184 | +++ b/libgeis/geis_class.h | ||
| 185 | @@ -35,7 +35,7 @@ typedef struct _GeisGestureClassBag *GeisGestureClassBag; | ||
| 186 | /** | ||
| 187 | * Creates a new class bag, | ||
| 188 | */ | ||
| 189 | -GeisGestureClassBag geis_gesture_class_bag_new(); | ||
| 190 | +GeisGestureClassBag geis_gesture_class_bag_new(void); | ||
| 191 | |||
| 192 | /** | ||
| 193 | * Destroys a gesture class bag. | ||
| 194 | diff --git a/libgeis/geis_device.c b/libgeis/geis_device.c | ||
| 195 | index 1f61fc1..ff3216b 100644 | ||
| 196 | --- a/libgeis/geis_device.c | ||
| 197 | +++ b/libgeis/geis_device.c | ||
| 198 | @@ -44,7 +44,7 @@ static const int device_bag_growth_constant = 2; | ||
| 199 | |||
| 200 | |||
| 201 | GeisDeviceBag | ||
| 202 | -geis_device_bag_new() | ||
| 203 | +geis_device_bag_new(void) | ||
| 204 | { | ||
| 205 | GeisDeviceBag bag = calloc(1, sizeof(struct _GeisDeviceBag)); | ||
| 206 | if (!bag) | ||
| 207 | diff --git a/libgeis/geis_device.h b/libgeis/geis_device.h | ||
| 208 | index c411e54..707943b 100644 | ||
| 209 | --- a/libgeis/geis_device.h | ||
| 210 | +++ b/libgeis/geis_device.h | ||
| 211 | @@ -35,7 +35,7 @@ typedef struct _GeisDeviceBag *GeisDeviceBag; | ||
| 212 | /** | ||
| 213 | * Creates a new device bag, | ||
| 214 | */ | ||
| 215 | -GeisDeviceBag geis_device_bag_new(); | ||
| 216 | +GeisDeviceBag geis_device_bag_new(void); | ||
| 217 | |||
| 218 | /** | ||
| 219 | * Destroys a device bag. | ||
| 220 | diff --git a/libgeis/geis_event_queue.c b/libgeis/geis_event_queue.c | ||
| 221 | index 0b7d0fb..f357683 100644 | ||
| 222 | --- a/libgeis/geis_event_queue.c | ||
| 223 | +++ b/libgeis/geis_event_queue.c | ||
| 224 | @@ -50,7 +50,7 @@ struct _GeisEventQueue | ||
| 225 | * Creates a new Geis Event queue. | ||
| 226 | */ | ||
| 227 | GeisEventQueue | ||
| 228 | -geis_event_queue_new() | ||
| 229 | +geis_event_queue_new(void) | ||
| 230 | { | ||
| 231 | GeisEventQueue queue = calloc(1, sizeof(struct _GeisEventQueue)); | ||
| 232 | if (!queue) | ||
| 233 | diff --git a/libgeis/geis_event_queue.h b/libgeis/geis_event_queue.h | ||
| 234 | index e4c186d..5f3da1d 100644 | ||
| 235 | --- a/libgeis/geis_event_queue.h | ||
| 236 | +++ b/libgeis/geis_event_queue.h | ||
| 237 | @@ -41,7 +41,7 @@ typedef struct _GeisEventQueue *GeisEventQueue; | ||
| 238 | /** | ||
| 239 | * Creates a new Geis Event queue. | ||
| 240 | */ | ||
| 241 | -GeisEventQueue geis_event_queue_new(); | ||
| 242 | +GeisEventQueue geis_event_queue_new(void); | ||
| 243 | |||
| 244 | /** | ||
| 245 | * Destroys a Geis Event queue. | ||
| 246 | diff --git a/libgeis/geis_filter.c b/libgeis/geis_filter.c | ||
| 247 | index 4fe5da6..83d65a8 100644 | ||
| 248 | --- a/libgeis/geis_filter.c | ||
| 249 | +++ b/libgeis/geis_filter.c | ||
| 250 | @@ -57,7 +57,7 @@ static GeisSize s_filter_oid = 0; | ||
| 251 | * Creates a new filter bag, | ||
| 252 | */ | ||
| 253 | GeisFilterBag | ||
| 254 | -geis_filter_bag_new() | ||
| 255 | +geis_filter_bag_new(void) | ||
| 256 | { | ||
| 257 | GeisFilterBag bag = calloc(1, sizeof(struct _GeisFilterBag)); | ||
| 258 | if (!bag) | ||
| 259 | diff --git a/libgeis/geis_filter.h b/libgeis/geis_filter.h | ||
| 260 | index 7b613bf..f825bb7 100644 | ||
| 261 | --- a/libgeis/geis_filter.h | ||
| 262 | +++ b/libgeis/geis_filter.h | ||
| 263 | @@ -42,7 +42,7 @@ typedef GeisFilter *GeisFilterIterator; | ||
| 264 | /** | ||
| 265 | * Creates a new filter bag, | ||
| 266 | */ | ||
| 267 | -GeisFilterBag geis_filter_bag_new(); | ||
| 268 | +GeisFilterBag geis_filter_bag_new(void); | ||
| 269 | |||
| 270 | /** | ||
| 271 | * Destroys a filter bag. | ||
| 272 | diff --git a/libgeis/geis_filterable.c b/libgeis/geis_filterable.c | ||
| 273 | index 57bd4ac..5fb4b0c 100644 | ||
| 274 | --- a/libgeis/geis_filterable.c | ||
| 275 | +++ b/libgeis/geis_filterable.c | ||
| 276 | @@ -40,7 +40,7 @@ struct FilterableAttributeBag | ||
| 277 | * Constructs a new filterable attribute bag. | ||
| 278 | */ | ||
| 279 | FilterableAttributeBag | ||
| 280 | -geis_filterable_attribute_bag_new() | ||
| 281 | +geis_filterable_attribute_bag_new(void) | ||
| 282 | { | ||
| 283 | FilterableAttributeBag bag = calloc(1, sizeof(struct FilterableAttributeBag)); | ||
| 284 | if (!bag) | ||
| 285 | diff --git a/libgeis/geis_filterable.h b/libgeis/geis_filterable.h | ||
| 286 | index 6d400fc..63c563d 100644 | ||
| 287 | --- a/libgeis/geis_filterable.h | ||
| 288 | +++ b/libgeis/geis_filterable.h | ||
| 289 | @@ -86,7 +86,7 @@ geis_filterable_attribute_init(GeisFilterableAttribute fa, | ||
| 290 | * Constructs a new filterable attribute bag. | ||
| 291 | */ | ||
| 292 | FilterableAttributeBag | ||
| 293 | -geis_filterable_attribute_bag_new(); | ||
| 294 | +geis_filterable_attribute_bag_new(void); | ||
| 295 | |||
| 296 | /** | ||
| 297 | * Destroys a filterable attribute bag. | ||
| 298 | diff --git a/libgeis/geis_frame.c b/libgeis/geis_frame.c | ||
| 299 | index ebe11a1..068d9aa 100644 | ||
| 300 | --- a/libgeis/geis_frame.c | ||
| 301 | +++ b/libgeis/geis_frame.c | ||
| 302 | @@ -57,7 +57,7 @@ struct _GeisFrameSet | ||
| 303 | * Creates a new, empty frame set. | ||
| 304 | */ | ||
| 305 | GeisFrameSet | ||
| 306 | -geis_frameset_new() | ||
| 307 | +geis_frameset_new(void) | ||
| 308 | { | ||
| 309 | GeisFrameSet frameset = calloc(1, sizeof(struct _GeisFrameSet)); | ||
| 310 | if (!frameset) | ||
| 311 | diff --git a/libgeis/geis_frame.h b/libgeis/geis_frame.h | ||
| 312 | index e0d1eb6..4a4b0ba 100644 | ||
| 313 | --- a/libgeis/geis_frame.h | ||
| 314 | +++ b/libgeis/geis_frame.h | ||
| 315 | @@ -32,7 +32,7 @@ typedef struct _GeisFrameSet *GeisFrameSet; | ||
| 316 | /** | ||
| 317 | * Creates a new, empty frame set. | ||
| 318 | */ | ||
| 319 | -GeisFrameSet geis_frameset_new(); | ||
| 320 | +GeisFrameSet geis_frameset_new(void); | ||
| 321 | |||
| 322 | /** | ||
| 323 | * Destroys a frame set and all framees contained in it. | ||
| 324 | diff --git a/libgeis/geis_group.c b/libgeis/geis_group.c | ||
| 325 | index 0829bd4..4c51a39 100644 | ||
| 326 | --- a/libgeis/geis_group.c | ||
| 327 | +++ b/libgeis/geis_group.c | ||
| 328 | @@ -42,7 +42,7 @@ struct _GeisGroupSet | ||
| 329 | * Creates a new, empty group set. | ||
| 330 | */ | ||
| 331 | GeisGroupSet | ||
| 332 | -geis_groupset_new() | ||
| 333 | +geis_groupset_new(void) | ||
| 334 | { | ||
| 335 | GeisGroupSet groupset = calloc(1, sizeof(struct _GeisGroupSet)); | ||
| 336 | if (!groupset) | ||
| 337 | diff --git a/libgeis/geis_group.h b/libgeis/geis_group.h | ||
| 338 | index 76e0efc..c44ce62 100644 | ||
| 339 | --- a/libgeis/geis_group.h | ||
| 340 | +++ b/libgeis/geis_group.h | ||
| 341 | @@ -31,7 +31,7 @@ | ||
| 342 | /** | ||
| 343 | * Creates a new, empty group set. | ||
| 344 | */ | ||
| 345 | -GeisGroupSet geis_groupset_new(); | ||
| 346 | +GeisGroupSet geis_groupset_new(void); | ||
| 347 | |||
| 348 | /** | ||
| 349 | * Destroys a group set and all groups contained in it. | ||
| 350 | diff --git a/libgeis/geis_region.c b/libgeis/geis_region.c | ||
| 351 | index fc8cc1e..18181cb 100644 | ||
| 352 | --- a/libgeis/geis_region.c | ||
| 353 | +++ b/libgeis/geis_region.c | ||
| 354 | @@ -52,7 +52,7 @@ static const int region_bag_growth_constant = 2; | ||
| 355 | * Constructs a region bag. | ||
| 356 | */ | ||
| 357 | GeisRegionBag | ||
| 358 | -geis_region_bag_new() | ||
| 359 | +geis_region_bag_new(void) | ||
| 360 | { | ||
| 361 | GeisRegionBag bag = calloc(1, sizeof(struct _GeisRegionBag)); | ||
| 362 | if (!bag) | ||
| 363 | diff --git a/libgeis/geis_region.h b/libgeis/geis_region.h | ||
| 364 | index 53a52b8..18d908f 100644 | ||
| 365 | --- a/libgeis/geis_region.h | ||
| 366 | +++ b/libgeis/geis_region.h | ||
| 367 | @@ -49,7 +49,7 @@ typedef struct _GeisRegionBag *GeisRegionBag; | ||
| 368 | /** | ||
| 369 | * Creates a new region bag. | ||
| 370 | */ | ||
| 371 | -GeisRegionBag geis_region_bag_new(); | ||
| 372 | +GeisRegionBag geis_region_bag_new(void); | ||
| 373 | |||
| 374 | /** | ||
| 375 | * Destroys a region bag. | ||
| 376 | diff --git a/libgeis/geis_touch.c b/libgeis/geis_touch.c | ||
| 377 | index 74d1b3e..be0f1a7 100644 | ||
| 378 | --- a/libgeis/geis_touch.c | ||
| 379 | +++ b/libgeis/geis_touch.c | ||
| 380 | @@ -43,7 +43,7 @@ struct _GeisTouchSet | ||
| 381 | * Creates a new, empty touch set. | ||
| 382 | */ | ||
| 383 | GeisTouchSet | ||
| 384 | -geis_touchset_new() | ||
| 385 | +geis_touchset_new(void) | ||
| 386 | { | ||
| 387 | GeisTouchSet touchset = calloc(1, sizeof(struct _GeisTouchSet)); | ||
| 388 | if (!touchset) | ||
| 389 | diff --git a/libgeis/geis_touch.h b/libgeis/geis_touch.h | ||
| 390 | index 62af610..b64c755 100644 | ||
| 391 | --- a/libgeis/geis_touch.h | ||
| 392 | +++ b/libgeis/geis_touch.h | ||
| 393 | @@ -30,7 +30,7 @@ | ||
| 394 | /** | ||
| 395 | * Creates a new, empty touch set. | ||
| 396 | */ | ||
| 397 | -GeisTouchSet geis_touchset_new(); | ||
| 398 | +GeisTouchSet geis_touchset_new(void); | ||
| 399 | |||
| 400 | /** | ||
| 401 | * Destroys a touch set and all touches contained in it. | ||
| 402 | diff --git a/libgeis/server/geis_dbus_client_proxy.c b/libgeis/server/geis_dbus_client_proxy.c | ||
| 403 | index 3f1af47..65f229b 100644 | ||
| 404 | --- a/libgeis/server/geis_dbus_client_proxy.c | ||
| 405 | +++ b/libgeis/server/geis_dbus_client_proxy.c | ||
| 406 | @@ -52,7 +52,7 @@ struct GeisDBusClientProxy | ||
| 407 | * failure. | ||
| 408 | */ | ||
| 409 | GeisDBusClientProxy | ||
| 410 | -_client_proxy_allocate() | ||
| 411 | +_client_proxy_allocate(void) | ||
| 412 | { | ||
| 413 | GeisDBusClientProxy proxy = calloc(1, sizeof(struct GeisDBusClientProxy)); | ||
| 414 | return proxy; | ||
| 415 | diff --git a/libgeis/server/geis_dbus_proxy_box.c b/libgeis/server/geis_dbus_proxy_box.c | ||
| 416 | index 4c7752a..f129bc3 100644 | ||
| 417 | --- a/libgeis/server/geis_dbus_proxy_box.c | ||
| 418 | +++ b/libgeis/server/geis_dbus_proxy_box.c | ||
| 419 | @@ -49,7 +49,7 @@ struct GeisDBusProxyBox | ||
| 420 | * Constructs a %GeisDBusProxyBox. | ||
| 421 | */ | ||
| 422 | GeisDBusProxyBox | ||
| 423 | -geis_dbus_proxy_box_new() | ||
| 424 | +geis_dbus_proxy_box_new(void) | ||
| 425 | { | ||
| 426 | GeisDBusProxyBox box = calloc(1, sizeof(struct GeisDBusProxyBox)); | ||
| 427 | if (!box) | ||
| 428 | diff --git a/libgeis/server/geis_dbus_proxy_box.h b/libgeis/server/geis_dbus_proxy_box.h | ||
| 429 | index d8a70f5..47e84b7 100644 | ||
| 430 | --- a/libgeis/server/geis_dbus_proxy_box.h | ||
| 431 | +++ b/libgeis/server/geis_dbus_proxy_box.h | ||
| 432 | @@ -47,7 +47,7 @@ typedef struct GeisDBusProxyBoxNode *GeisDBusProxyBoxIterator; | ||
| 433 | * @returns a valid %GeisDBusProxyBox or NULL on failure. | ||
| 434 | */ | ||
| 435 | GeisDBusProxyBox | ||
| 436 | -geis_dbus_proxy_box_new(); | ||
| 437 | +geis_dbus_proxy_box_new(void); | ||
| 438 | |||
| 439 | /** | ||
| 440 | * Destroys a %GeisDBusProxyBox. | ||
| 441 | diff --git a/libs/geis-dbus/geis_dbus_dispatcher.c b/libs/geis-dbus/geis_dbus_dispatcher.c | ||
| 442 | index 10c4134..d8a3f9d 100644 | ||
| 443 | --- a/libs/geis-dbus/geis_dbus_dispatcher.c | ||
| 444 | +++ b/libs/geis-dbus/geis_dbus_dispatcher.c | ||
| 445 | @@ -82,7 +82,7 @@ struct GeisDBusDispatcher | ||
| 446 | * assumption that if you're creating a bag you're going to use it. | ||
| 447 | */ | ||
| 448 | static GeisDBusWatchBag | ||
| 449 | -_geis_dbus_watch_bag_new() | ||
| 450 | +_geis_dbus_watch_bag_new(void) | ||
| 451 | { | ||
| 452 | GeisDBusWatchBag bag = calloc(1, sizeof(struct GeisDBusWatchBag)); | ||
| 453 | if (!bag) | ||
| 454 | diff --git a/libs/geis-util/geis_logging.c b/libs/geis-util/geis_logging.c | ||
| 455 | index a02077b..030a591 100644 | ||
| 456 | --- a/libs/geis-util/geis_logging.c | ||
| 457 | +++ b/libs/geis-util/geis_logging.c | ||
| 458 | @@ -31,7 +31,7 @@ static const char *error_marker = "error"; | ||
| 459 | |||
| 460 | |||
| 461 | static int | ||
| 462 | -reporting_level() | ||
| 463 | +reporting_level(void) | ||
| 464 | { | ||
| 465 | char *level = getenv("GEIS_DEBUG"); | ||
| 466 | if (level) | ||
| 467 | diff --git a/testsuite/geis1/check_gesture_attrs.c b/testsuite/geis1/check_gesture_attrs.c | ||
| 468 | index 2228d2f..d990c7c 100644 | ||
| 469 | --- a/testsuite/geis1/check_gesture_attrs.c | ||
| 470 | +++ b/testsuite/geis1/check_gesture_attrs.c | ||
| 471 | @@ -169,7 +169,7 @@ END_TEST | ||
| 472 | |||
| 473 | |||
| 474 | Suite * | ||
| 475 | -geis1_gesture_attrs_new() | ||
| 476 | +geis1_gesture_attrs_new(void) | ||
| 477 | { | ||
| 478 | Suite *s = suite_create("geis1_gesture_attrs"); | ||
| 479 | TCase *test; | ||
| 480 | diff --git a/testsuite/geis1/check_gesture_types.c b/testsuite/geis1/check_gesture_types.c | ||
| 481 | index 3492062..980f8fb 100644 | ||
| 482 | --- a/testsuite/geis1/check_gesture_types.c | ||
| 483 | +++ b/testsuite/geis1/check_gesture_types.c | ||
| 484 | @@ -62,7 +62,7 @@ START_TEST(gesture_types) | ||
| 485 | END_TEST | ||
| 486 | |||
| 487 | Suite * | ||
| 488 | -geis1_gesture_types_new() | ||
| 489 | +geis1_gesture_types_new(void) | ||
| 490 | { | ||
| 491 | Suite *s = suite_create("geis1_gesture_types"); | ||
| 492 | TCase *test; | ||
| 493 | diff --git a/testsuite/geis1/check_instance.c b/testsuite/geis1/check_instance.c | ||
| 494 | index ac897ab..584abfd 100644 | ||
| 495 | --- a/testsuite/geis1/check_instance.c | ||
| 496 | +++ b/testsuite/geis1/check_instance.c | ||
| 497 | @@ -44,7 +44,7 @@ END_TEST | ||
| 498 | |||
| 499 | |||
| 500 | Suite * | ||
| 501 | -geis1_instance_suite_new() | ||
| 502 | +geis1_instance_suite_new(void) | ||
| 503 | { | ||
| 504 | TCase *create; | ||
| 505 | Suite *s = suite_create("geis1_instance_suite"); | ||
| 506 | diff --git a/testsuite/geis1/check_subscription.c b/testsuite/geis1/check_subscription.c | ||
| 507 | index 0797337..e69c332 100644 | ||
| 508 | --- a/testsuite/geis1/check_subscription.c | ||
| 509 | +++ b/testsuite/geis1/check_subscription.c | ||
| 510 | @@ -146,7 +146,7 @@ END_TEST | ||
| 511 | |||
| 512 | |||
| 513 | Suite * | ||
| 514 | -geis1_subscription_new() | ||
| 515 | +geis1_subscription_new(void) | ||
| 516 | { | ||
| 517 | Suite *s = suite_create("geis1_subscription"); | ||
| 518 | TCase *test; | ||
| 519 | diff --git a/testsuite/geis2/check_attr.c b/testsuite/geis2/check_attr.c | ||
| 520 | index 9e01219..58c8ebc 100644 | ||
| 521 | --- a/testsuite/geis2/check_attr.c | ||
| 522 | +++ b/testsuite/geis2/check_attr.c | ||
| 523 | @@ -42,7 +42,7 @@ END_TEST | ||
| 524 | |||
| 525 | /* boilerplate */ | ||
| 526 | Suite * | ||
| 527 | -geis2_attr_suite_new() | ||
| 528 | +geis2_attr_suite_new(void) | ||
| 529 | { | ||
| 530 | Suite *s = suite_create("geis2_attr"); | ||
| 531 | |||
| 532 | diff --git a/testsuite/geis2/check_class.c b/testsuite/geis2/check_class.c | ||
| 533 | index ca7accd..b60d827 100644 | ||
| 534 | --- a/testsuite/geis2/check_class.c | ||
| 535 | +++ b/testsuite/geis2/check_class.c | ||
| 536 | @@ -92,7 +92,7 @@ END_TEST | ||
| 537 | |||
| 538 | /* boilerplate */ | ||
| 539 | Suite * | ||
| 540 | -geis2_gesture_class_suite_new() | ||
| 541 | +geis2_gesture_class_suite_new(void) | ||
| 542 | { | ||
| 543 | TCase *gesture_class; | ||
| 544 | TCase *usage; | ||
| 545 | diff --git a/testsuite/geis2/check_config.c b/testsuite/geis2/check_config.c | ||
| 546 | index a9fc9c1..03b3137 100644 | ||
| 547 | --- a/testsuite/geis2/check_config.c | ||
| 548 | +++ b/testsuite/geis2/check_config.c | ||
| 549 | @@ -48,7 +48,7 @@ END_TEST | ||
| 550 | |||
| 551 | /* boilerplate */ | ||
| 552 | Suite * | ||
| 553 | -geis2_config_suite_new() | ||
| 554 | +geis2_config_suite_new(void) | ||
| 555 | { | ||
| 556 | Suite *s = suite_create("geis2_configuration"); | ||
| 557 | |||
| 558 | diff --git a/testsuite/geis2/check_device.c b/testsuite/geis2/check_device.c | ||
| 559 | index 8b3b7be..9583cb5 100644 | ||
| 560 | --- a/testsuite/geis2/check_device.c | ||
| 561 | +++ b/testsuite/geis2/check_device.c | ||
| 562 | @@ -99,7 +99,7 @@ END_TEST | ||
| 563 | |||
| 564 | /* boilerplate */ | ||
| 565 | Suite * | ||
| 566 | -geis2_device_suite_new() | ||
| 567 | +geis2_device_suite_new(void) | ||
| 568 | { | ||
| 569 | TCase *device; | ||
| 570 | TCase *usage; | ||
| 571 | diff --git a/testsuite/geis2/check_error_codes.c b/testsuite/geis2/check_error_codes.c | ||
| 572 | index 9c7508d..57e7fc7 100644 | ||
| 573 | --- a/testsuite/geis2/check_error_codes.c | ||
| 574 | +++ b/testsuite/geis2/check_error_codes.c | ||
| 575 | @@ -20,7 +20,7 @@ END_TEST | ||
| 576 | |||
| 577 | /* boilerplate */ | ||
| 578 | Suite * | ||
| 579 | -geis2_error_codes_suite_new() | ||
| 580 | +geis2_error_codes_suite_new(void) | ||
| 581 | { | ||
| 582 | Suite *s = suite_create("geis2_error_codes"); | ||
| 583 | |||
| 584 | diff --git a/testsuite/geis2/check_event.c b/testsuite/geis2/check_event.c | ||
| 585 | index 8ecda1d..c752a30 100644 | ||
| 586 | --- a/testsuite/geis2/check_event.c | ||
| 587 | +++ b/testsuite/geis2/check_event.c | ||
| 588 | @@ -43,7 +43,7 @@ END_TEST | ||
| 589 | |||
| 590 | /* boilerplate */ | ||
| 591 | Suite * | ||
| 592 | -geis2_event_suite_new() | ||
| 593 | +geis2_event_suite_new(void) | ||
| 594 | { | ||
| 595 | Suite *s = suite_create("geis2_event"); | ||
| 596 | |||
| 597 | diff --git a/testsuite/geis2/check_filter.c b/testsuite/geis2/check_filter.c | ||
| 598 | index 3272a2a..afa23e5 100644 | ||
| 599 | --- a/testsuite/geis2/check_filter.c | ||
| 600 | +++ b/testsuite/geis2/check_filter.c | ||
| 601 | @@ -67,7 +67,7 @@ END_TEST | ||
| 602 | |||
| 603 | /* boilerplate */ | ||
| 604 | Suite * | ||
| 605 | -geis2_filter_suite_new() | ||
| 606 | +geis2_filter_suite_new(void) | ||
| 607 | { | ||
| 608 | TCase *filter; | ||
| 609 | TCase *usage; | ||
| 610 | diff --git a/testsuite/geis2/check_frame.c b/testsuite/geis2/check_frame.c | ||
| 611 | index dce6faf..3ea3db0 100644 | ||
| 612 | --- a/testsuite/geis2/check_frame.c | ||
| 613 | +++ b/testsuite/geis2/check_frame.c | ||
| 614 | @@ -172,7 +172,7 @@ END_TEST | ||
| 615 | |||
| 616 | /* boilerplate */ | ||
| 617 | Suite * | ||
| 618 | -geis2_gesture_frame_suite_new() | ||
| 619 | +geis2_gesture_frame_suite_new(void) | ||
| 620 | { | ||
| 621 | Suite *s = suite_create("geis2_gesture_frame"); | ||
| 622 | TCase *gesture_frame; | ||
| 623 | diff --git a/testsuite/geis2/check_geis_new.c b/testsuite/geis2/check_geis_new.c | ||
| 624 | index 1fb8de2..36cd3e9 100644 | ||
| 625 | --- a/testsuite/geis2/check_geis_new.c | ||
| 626 | +++ b/testsuite/geis2/check_geis_new.c | ||
| 627 | @@ -32,7 +32,7 @@ END_TEST | ||
| 628 | |||
| 629 | /* boilerplate */ | ||
| 630 | Suite * | ||
| 631 | -geis2_geis_new_suite_new() | ||
| 632 | +geis2_geis_new_suite_new(void) | ||
| 633 | { | ||
| 634 | Suite *s = suite_create("geis2_geis_init"); | ||
| 635 | |||
| 636 | diff --git a/testsuite/geis2/check_general_types.c b/testsuite/geis2/check_general_types.c | ||
| 637 | index 79e29bb..0f463d4 100644 | ||
| 638 | --- a/testsuite/geis2/check_general_types.c | ||
| 639 | +++ b/testsuite/geis2/check_general_types.c | ||
| 640 | @@ -20,7 +20,7 @@ END_TEST | ||
| 641 | |||
| 642 | /* boilerplate */ | ||
| 643 | Suite * | ||
| 644 | -geis2_general_types_suite_new() | ||
| 645 | +geis2_general_types_suite_new(void) | ||
| 646 | { | ||
| 647 | Suite *s = suite_create("geis2_general_types"); | ||
| 648 | TCase *create; | ||
| 649 | diff --git a/testsuite/geis2/check_region.c b/testsuite/geis2/check_region.c | ||
| 650 | index 3e64e0c..606350a 100644 | ||
| 651 | --- a/testsuite/geis2/check_region.c | ||
| 652 | +++ b/testsuite/geis2/check_region.c | ||
| 653 | @@ -48,7 +48,7 @@ END_TEST | ||
| 654 | |||
| 655 | /* boilerplate */ | ||
| 656 | Suite * | ||
| 657 | -geis2_region_suite_new() | ||
| 658 | +geis2_region_suite_new(void) | ||
| 659 | { | ||
| 660 | Suite *s = suite_create("geis2_region"); | ||
| 661 | TCase *creation; | ||
| 662 | diff --git a/testsuite/geis2/check_subscription.c b/testsuite/geis2/check_subscription.c | ||
| 663 | index a45c4ad..17a6779 100644 | ||
| 664 | --- a/testsuite/geis2/check_subscription.c | ||
| 665 | +++ b/testsuite/geis2/check_subscription.c | ||
| 666 | @@ -161,7 +161,7 @@ END_TEST | ||
| 667 | |||
| 668 | /* boilerplate */ | ||
| 669 | Suite * | ||
| 670 | -geis2_subscription_suite_new() | ||
| 671 | +geis2_subscription_suite_new(void) | ||
| 672 | { | ||
| 673 | TCase *create; | ||
| 674 | TCase *usage; | ||
| 675 | diff --git a/tools/geis-server/geis-server.c b/tools/geis-server/geis-server.c | ||
| 676 | index 97c8b99..6600d8f 100644 | ||
| 677 | --- a/tools/geis-server/geis-server.c | ||
| 678 | +++ b/tools/geis-server/geis-server.c | ||
| 679 | @@ -23,7 +23,7 @@ | ||
| 680 | |||
| 681 | |||
| 682 | int | ||
| 683 | -main() | ||
| 684 | +main(void) | ||
| 685 | { | ||
| 686 | GeisStatus status; | ||
| 687 | |||
| 688 | -- | ||
| 689 | 2.37.3 | ||
| 690 | |||
diff --git a/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb b/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb index a1a28a8921..e7f3b5131f 100644 --- a/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb +++ b/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb | |||
| @@ -22,6 +22,7 @@ DEPENDS += "grail dbus-glib python3 virtual/libx11 libxext libxi libxcb dbus fra | |||
| 22 | SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.xz \ | 22 | SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.xz \ |
| 23 | file://fix-indentation-for-gcc6.patch \ | 23 | file://fix-indentation-for-gcc6.patch \ |
| 24 | file://0001-libgeis-Compare-the-first-character-of-string-to-nul.patch \ | 24 | file://0001-libgeis-Compare-the-first-character-of-string-to-nul.patch \ |
| 25 | file://0001-provide-function-declaration-with-prototypes.patch \ | ||
| 25 | " | 26 | " |
| 26 | 27 | ||
| 27 | UPSTREAM_CHECK_URI = "https://launchpad.net/geis/trunk" | 28 | UPSTREAM_CHECK_URI = "https://launchpad.net/geis/trunk" |
