Added inline to gadget_write_string().
Signed-off-by: Stanislaw Wadas <[email protected]>
---
src/gadget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gadget.c b/src/gadget.c
index 79a1698..8ca68b3 100644
--- a/src/gadget.c
+++ b/src/gadget.c
@@ -162,7 +162,7 @@ static void gadget_write_int(char *path, char *name, char
*file, int value, char
#define gadget_write_hex16(p, n, f, v) gadget_write_int(p, n, f, v, "0x%04x\n")
#define gadget_write_hex8(p, n, f, v) gadget_write_int(p, n, f, v, "0x%02x\n")
-static void gadget_write_string(char *path, char *name, char *file, char *buf)
+static inline void gadget_write_string(char *path, char *name, char *file,
char *buf)
{
gadget_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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html