> -Original Message-
> From: Karol Lewandowski [mailto:k.lewando...@samsung.com]
> Subject: Re: [PATCH v6 4/4] libusbg: Add inline to
> gadget_write_string().
>
> On 01/23/2014 11:13 AM, Krzysztof Opasiak wrote:
> >> -Original Message-
> >>
On 01/23/2014 11:13 AM, Krzysztof Opasiak wrote:
>> -Original Message-
>> From: David Laight [mailto:david.lai...@aculab.com]>
>> From: Of Stanislaw Wadas
>>> Add inline to gadget_write_string().
>> ...
>>> -static void usbg_write_string(char *path, char *name, char
>> *file, char *buf)
>>
> -Original Message-
> From: David Laight [mailto:david.lai...@aculab.com]>
> From: Of Stanislaw Wadas
> > Add inline to gadget_write_string().
> ...
> > -static void usbg_write_string(char *path, char *name, char
> *file, char *buf)
> > +static inline void usbg_write_string(char *path, ch
From: Of Stanislaw Wadas
> Add inline to gadget_write_string().
...
> -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);
> }
Why
Add inline to gadget_write_string().
Signed-off-by: Stanislaw Wadas
---
src/usbg.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/usbg.c b/src/usbg.c
index babe067..e648f0f 100644
--- a/src/usbg.c
+++ b/src/usbg.c
@@ -162,7 +162,7 @@ static void usbg_write_int(char *p