libfstools: add "const" to char pointer arguments in mount_move() lede-17.01
authorRafał Miłecki <rafal@milecki.pl>
Mon, 16 Apr 2018 12:30:12 +0000 (14:30 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 16 Apr 2018 17:12:19 +0000 (19:12 +0200)
commit6609e98a7416e107d1718b6ec6cc7339ab6523b8
treee882cb45cfda4ce327e08b9e912c8b722aec5104
parent95c07d52c82245fa1f0e5739daf08940a62227c9
libfstools: add "const" to char pointer arguments in mount_move()

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 <rafal@milecki.pl>
Acked-by: John Crispin <john@phrozen.org>
(cherry picked from commit 3782b59e8f6391134cf146033ebe3baa1fbc0f5a)
libfstools/libfstools.h
libfstools/mount.c