From aaab6d54a4cee653290d9cca59811e3f14217b7c Mon Sep 17 00:00:00 2001 From: "Dmitrij D. Czarkoff" Date: Sun, 1 May 2016 14:37:16 +0200 Subject: Remove buf_size from struct imv_navigator Implementation details should not leak to other parts of the code. While at it, clean up initialization and destruction of navigator. --- src/navigator.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/navigator.h') diff --git a/src/navigator.h b/src/navigator.h index b539e8b..5933aa4 100644 --- a/src/navigator.h +++ b/src/navigator.h @@ -20,9 +20,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#define BUFFER_SIZE 512 + struct imv_navigator { int num_paths; - int buf_size; int cur_path; char **paths; time_t *mtimes; -- cgit v1.2.3