* boxes.h: Remove user_format.
* boxes.c: Make more variables static, remove all extern declarations. * setup.c: Remove some extern declarations.
Этот коммит содержится в:
родитель
f319f7671f
Коммит
96322324ea
@ -1,5 +1,10 @@
|
|||||||
2002-08-18 Pavel Roskin <proski@gnu.org>
|
2002-08-18 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* boxes.h: Remove user_format.
|
||||||
|
* boxes.c: Make more variables static, remove all extern
|
||||||
|
declarations.
|
||||||
|
* setup.c: Remove some extern declarations.
|
||||||
|
|
||||||
* mountlist.h: Move some internals ...
|
* mountlist.h: Move some internals ...
|
||||||
* mountlist.c: ... here.
|
* mountlist.c: ... here.
|
||||||
|
|
||||||
|
28
src/boxes.c
28
src/boxes.c
@ -53,9 +53,10 @@
|
|||||||
#include "selcodepage.h"
|
#include "selcodepage.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WITH_SMBFS
|
#include "../vfs/vfs.h" /* vfs_timeout */
|
||||||
#include "../vfs/vfs.h" /* smb_authinfo */
|
#ifdef USE_NETCODE
|
||||||
#endif /* WITH_SMBFS */
|
# include "../vfs/ftpfs.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
static int DISPLAY_X = 45, DISPLAY_Y = 14;
|
static int DISPLAY_X = 45, DISPLAY_Y = 14;
|
||||||
|
|
||||||
@ -65,7 +66,6 @@ static WInput *user;
|
|||||||
static WInput *status;
|
static WInput *status;
|
||||||
static WCheck *check_status;
|
static WCheck *check_status;
|
||||||
static int current_mode;
|
static int current_mode;
|
||||||
extern int ftpfs_always_use_proxy;
|
|
||||||
|
|
||||||
static char **displays_status;
|
static char **displays_status;
|
||||||
static char* display_title = N_(" Listing mode ");
|
static char* display_title = N_(" Listing mode ");
|
||||||
@ -264,9 +264,9 @@ display_box (WPanel *panel, char **userp, char **minip, int *use_msformat, int n
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
int SORT_X = 40, SORT_Y = 14;
|
static int SORT_X = 40, SORT_Y = 14;
|
||||||
|
|
||||||
char *sort_orders_names [SORT_TYPES];
|
static char *sort_orders_names [SORT_TYPES];
|
||||||
|
|
||||||
sortfn *
|
sortfn *
|
||||||
sort_box (sortfn *sort_fn, int *reverse, int *case_sensitive)
|
sort_box (sortfn *sort_fn, int *reverse, int *case_sensitive)
|
||||||
@ -460,7 +460,7 @@ confirm_box ()
|
|||||||
static int new_mode;
|
static int new_mode;
|
||||||
static int new_meta;
|
static int new_meta;
|
||||||
|
|
||||||
char *display_bits_str [] =
|
static char *display_bits_str [] =
|
||||||
{ N_("Full 8 bits output"), N_("ISO 8859-1"), N_("7 bits") };
|
{ N_("Full 8 bits output"), N_("ISO 8859-1"), N_("7 bits") };
|
||||||
|
|
||||||
static QuickWidget display_widgets [] = {
|
static QuickWidget display_widgets [] = {
|
||||||
@ -547,7 +547,7 @@ display_bits_box ()
|
|||||||
#else /* HAVE_CHARSET */
|
#else /* HAVE_CHARSET */
|
||||||
|
|
||||||
|
|
||||||
Dlg_head *dbits_dlg;
|
static Dlg_head *dbits_dlg;
|
||||||
|
|
||||||
static void dbits_refresh()
|
static void dbits_refresh()
|
||||||
{
|
{
|
||||||
@ -573,8 +573,8 @@ static int dbits_callback( Dlg_head * h, int Par, int Msg )
|
|||||||
|
|
||||||
static int new_display_codepage;
|
static int new_display_codepage;
|
||||||
|
|
||||||
WLabel *cplabel;
|
static WLabel *cplabel;
|
||||||
WCheck *inpcheck;
|
static WCheck *inpcheck;
|
||||||
|
|
||||||
static int sel_charset_button( int action, void *param )
|
static int sel_charset_button( int action, void *param )
|
||||||
{
|
{
|
||||||
@ -725,14 +725,6 @@ tree_box (char *current_dir)
|
|||||||
|
|
||||||
#define VFSX 56
|
#define VFSX 56
|
||||||
|
|
||||||
extern int vfs_timeout;
|
|
||||||
extern int ftpfs_always_use_proxy;
|
|
||||||
|
|
||||||
#if defined(USE_NETCODE)
|
|
||||||
extern char *ftpfs_anonymous_passwd;
|
|
||||||
extern char *ftpfs_proxy_host;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static char *ret_timeout;
|
static char *ret_timeout;
|
||||||
|
|
||||||
#if defined(USE_NETCODE)
|
#if defined(USE_NETCODE)
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
#ifndef __BOXES_H
|
#ifndef __BOXES_H
|
||||||
#define __BOXES_H
|
#define __BOXES_H
|
||||||
|
|
||||||
extern char *user_format [];
|
|
||||||
|
|
||||||
int display_box (WPanel *p, char **user, char **mini,
|
int display_box (WPanel *p, char **user, char **mini,
|
||||||
int *use_msformat, int num);
|
int *use_msformat, int num);
|
||||||
sortfn *sort_box (sortfn *sort_fn, int *reverse,
|
sortfn *sort_box (sortfn *sort_fn, int *reverse,
|
||||||
|
@ -52,11 +52,6 @@
|
|||||||
|
|
||||||
/* "$Id$" */
|
/* "$Id$" */
|
||||||
|
|
||||||
#ifdef USE_VFS
|
|
||||||
extern int vfs_timeout;
|
|
||||||
extern int tar_gzipped_memlimit;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern char *find_ignore_dirs;
|
extern char *find_ignore_dirs;
|
||||||
|
|
||||||
extern int num_history_items_recorded;
|
extern int num_history_items_recorded;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user