Commit 77ac6379 authored by malenov's avatar malenov
Browse files

make fname() visible without DEUBG_MODE_INFO on

parent fbe043f5
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -758,7 +758,7 @@ int16_t tweakdbgfolder( const char *filename, char *filename_mod, int16_t *textm
#endif


#ifdef DEBUG_MODE_INFO
#ifdef DEBUGGING
/*-------------------------------------------------------------------*
   * fname()
   *
@@ -781,7 +781,7 @@ char *fname(
    char idd[5] = ".idX";
    idd[3] = (char) ( id + '0' );
#ifdef DEBUG_FORCE_DIR
    short len;
    size_t len;
#endif

    strcpy( tmp_fname, dir );
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ extern int16_t debug_level;
#define DEBUG_LINE( level ) if ( 0 )
#endif

#ifdef DEBUG_MODE_INFO
#ifdef DEBUGGING
extern char tmp_fname[];
extern char debug_dir[6];
char *fname( char *dir, char *file, const int16_t n, const int16_t id, const int16_t enc_dec );