Declarations of use_dash() and rotate_dash() were moved form lib/util.h to src/layout.h.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2010-10-14 13:35:57 +04:00 committed by Ilia Maslakov
parent 8b46518619
commit 8be556abc5
6 changed files with 9 additions and 7 deletions

View File

@ -166,10 +166,6 @@ void canonicalize_pathname (char *);
int my_mkdir (const char *s, mode_t mode);
int my_rmdir (const char *s);
/* Rotating dash routines */
void use_dash (int flag); /* Disable/Enable rotate_dash routines */
void rotate_dash (void);
/* Creating temporary files safely */
const char *mc_tmpdir (void);
int mc_mkstemps (char **pname, const char *prefix, const char *suffix);

View File

@ -38,6 +38,7 @@
#include "treestore.h"
#include "dir.h"
#include "setup.h" /* panels_options */
#include "layout.h" /* rotate_dash() */
/* Reverse flag */
static int reverse = 1;

View File

@ -34,7 +34,7 @@
#include "main.h"
#include "consaver/cons.saver.h"
#include "subshell.h"
#include "layout.h"
#include "layout.h" /* use_dash() */
#include "dialog.h"
#include "wtools.h"
#include "panel.h" /* update_panels() */

View File

@ -67,7 +67,7 @@
#include "dialog.h"
#include "widget.h"
#include "main.h"
#include "layout.h"
#include "layout.h" /* rotate_dash() */
#include "widget.h"
#include "wtools.h"
#include "background.h" /* we_are_background */

View File

@ -802,7 +802,7 @@ change_screen_size (void)
static int ok_to_refresh = 1;
void
use_dash (int flag)
use_dash (gboolean flag)
{
if (flag)
ok_to_refresh++;

View File

@ -6,6 +6,7 @@
#ifndef MC_LAYOUT_H
#define MC_LAYOUT_H
#include "lib/global.h"
#include "panel.h"
#include "widget.h"
@ -34,6 +35,10 @@ const char *get_panel_dir_for (const WPanel *widget);
void set_hintbar (const char *str);
/* Rotating dash routines */
void use_dash (gboolean flag); /* Disable/Enable rotate_dash routines */
void rotate_dash (void);
/* Clear screen */
void clr_scr (void);
void repaint_screen (void);