Add inline to gadget_write_string().

Signed-off-by: Stanislaw Wadas <s.wa...@samsung.com>
---
 src/usbg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/usbg.c b/src/usbg.c
index a0be6f3..c88358d 100644
--- a/src/usbg.c
+++ b/src/usbg.c
@@ -167,7 +167,7 @@ static void usbg_write_int(char *path, char *name, char 
*file, int value, char *
 #define usbg_write_hex16(p, n, f, v)   usbg_write_int(p, n, f, v, "0x%04x\n")
 #define usbg_write_hex8(p, n, f, v)    usbg_write_int(p, n, f, v, "0x%02x\n")
 
-static void usbg_write_string(char *path, char *name, char *file, char *buf)
+static inline void usbg_write_string(char *path, char *name, char *file, char 
*buf)
 {
        usbg_write_buf(path, name, file, buf);
 }
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to