Ticket #3547: mc-3547-clarify-mc_args__debug_level-declare.patch

File mc-3547-clarify-mc_args__debug_level-declare.patch, 1020 bytes (added by and, 6 years ago)
  • src/args.c

    From 081bb9c7559b4cb2f61ea664026e1ee055fa96cf Mon Sep 17 00:00:00 2001
    From: Andreas Mohr <and@gmx.li>
    Date: Fri, 1 Jan 2016 14:42:49 +0000
    Subject: [PATCH] clarify mc_args__debug_level declare
    
    Signed-off-by: Andreas Mohr <and@gmx.li>
    ---
     src/args.c | 2 ++
     src/args.h | 2 ++
     2 files changed, 4 insertions(+)
    
    diff --git a/src/args.c b/src/args.c
    index 466b0d1..0ee7de6 100644
    a b char *mc_args__netfs_logfile = NULL; 
    6666char *mc_args__keymap_file = NULL; 
    6767 
    6868/* Debug level */ 
     69#ifdef ENABLE_VFS_SMB 
    6970int mc_args__debug_level = 0; 
     71#endif 
    7072 
    7173void *mc_run_param0 = NULL; 
    7274char *mc_run_param1 = NULL; 
  • src/args.h

    diff --git a/src/args.h b/src/args.h
    index 7f8577e..f33c07c 100644
    a b extern gboolean mc_args__nokeymap; 
    2525extern char *mc_args__last_wd_file; 
    2626extern char *mc_args__netfs_logfile; 
    2727extern char *mc_args__keymap_file; 
     28#ifdef ENABLE_VFS_SMB 
    2829extern int mc_args__debug_level; 
     30#endif 
    2931 
    3032/* 
    3133 * MC_RUN_FULL: dir for left panel