util: drop an unnecessary declaration
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 3 Jul 2017 02:45:12 +0000 (12:45 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 10 Jul 2017 02:00:50 +0000 (12:00 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/libinput-util.h

index 123dbf0..ebadb9f 100644 (file)
@@ -350,10 +350,7 @@ matrix_to_relative(struct matrix *dest, const struct matrix *src)
  * upon success or -1 upon failure. In the case of failure the pointer is set
  * to NULL.
  */
-static inline int
-xasprintf(char **strp, const char *fmt, ...)
-       LIBINPUT_ATTRIBUTE_PRINTF(2, 3);
-
+LIBINPUT_ATTRIBUTE_PRINTF(2, 3)
 static inline int
 xasprintf(char **strp, const char *fmt, ...)
 {