[PATCH v7 4/4] libusbg: Add inline to gadget_write_string().

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add inline to gadget_write_string().

Signed-off-by: Stanislaw Wadas <s.wadas@xxxxxxxxxxx>
---
 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux