Stops compiler warning if any of them aren't used.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
 include/isdv4.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/include/isdv4.h b/include/isdv4.h
index 423d564..a7d0d4e 100644
--- a/include/isdv4.h
+++ b/include/isdv4.h
@@ -103,8 +103,8 @@ typedef struct {
        uint8_t tilt_y;
 } ISDV4CoordinateData;
 
-static int isdv4ParseQuery(const unsigned char *buffer, const size_t len,
-                   ISDV4QueryReply *reply)
+static inline int isdv4ParseQuery(const unsigned char *buffer, const size_t 
len,
+                                 ISDV4QueryReply *reply)
 {
        int header, control;
 
@@ -130,8 +130,8 @@ static int isdv4ParseQuery(const unsigned char *buffer, 
const size_t len,
        return ISDV4_PKGLEN_TPCCTL;
 }
 
-static int isdv4ParseTouchQuery(const unsigned char *buffer, const size_t len,
-                        ISDV4TouchQueryReply *reply)
+static inline int isdv4ParseTouchQuery(const unsigned char *buffer, const 
size_t len,
+                                      ISDV4TouchQueryReply *reply)
 {
        int header, control;
 
@@ -157,8 +157,8 @@ static int isdv4ParseTouchQuery(const unsigned char 
*buffer, const size_t len,
 }
 
 /* pktlen defines what touch type we parse */
-static int isdv4ParseTouchData(const unsigned char *buffer, const size_t 
buff_len,
-                       const size_t pktlen, ISDV4TouchData *touchdata)
+static inline int isdv4ParseTouchData(const unsigned char *buffer, const 
size_t buff_len,
+                                     const size_t pktlen, ISDV4TouchData 
*touchdata)
 {
        int header, touch;
 
@@ -191,8 +191,8 @@ static int isdv4ParseTouchData(const unsigned char *buffer, 
const size_t buff_le
        return pktlen;
 }
 
-static int isdv4ParseCoordinateData(const unsigned char *buffer, const size_t 
len,
-                            ISDV4CoordinateData *coord)
+static inline int isdv4ParseCoordinateData(const unsigned char *buffer, const 
size_t len,
+                                          ISDV4CoordinateData *coord)
 {
        int header, control;
 
-- 
1.8.5.3


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to