Re: [LEDE-DEV] [PATCH fstools] libfstools: add "const" to char pointer arguments in mount_move()

2018-04-16 Thread John Crispin
On 16/04/18 14:30, Rafał Miłecki wrote: From: Rafał Miłecki That function never modifies these strings so it can/should use consts. It makes it a bit more flexible as now callers can also pass consts. Signed-off-by: Rafał Miłecki Acked-by: John Crispin

[LEDE-DEV] [PATCH fstools] libfstools: add "const" to char pointer arguments in mount_move()

2018-04-16 Thread Rafał Miłecki
From: Rafał Miłecki That function never modifies these strings so it can/should use consts. It makes it a bit more flexible as now callers can also pass consts. Signed-off-by: Rafał Miłecki --- libfstools/libfstools.h | 2 +- libfstools/mount.c | 2 +-