ecore_wl2: warn on unused result from ecore_wl2_input_seat_id_get
authorDerek Foreman <derekf@osg.samsung.com>
Tue, 8 May 2018 18:26:53 +0000 (13:26 -0500)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 1 Jun 2018 01:51:17 +0000 (10:51 +0900)
Summary:
Make it harder to misuse this function in the future.
Depends on D6129

Reviewers: zmike, cedric

Reviewed By: zmike

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6130

src/lib/ecore_wl2/Ecore_Wl2.h

index feb64f6..ddada27 100644 (file)
@@ -1624,7 +1624,7 @@ EAPI Ecore_Wl2_Seat_Capabilities ecore_wl2_input_seat_capabilities_get(Ecore_Wl2
  * @ingroup Ecore_Wl2_Input_Group
  * @since 1.19
  */
-EAPI unsigned int ecore_wl2_input_seat_id_get(Ecore_Wl2_Input *input);
+EAPI unsigned int ecore_wl2_input_seat_id_get(Ecore_Wl2_Input *input) EINA_WARN_UNUSED_RESULT;
 
 /**
  * Get the display object of an input