* fsusage.c: Include stdlib.h for abort().
* tree.c (tree_mkdir_cmd): Disable tree_mkdir_cmd() since it's not used. * widget.c: Declare x_radio_toggle() with arguments.
Этот коммит содержится в:
родитель
814ee01b63
Коммит
21d3c2b138
@ -1,5 +1,10 @@
|
||||
2001-05-14 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* fsusage.c: Include stdlib.h for abort().
|
||||
* tree.c (tree_mkdir_cmd): Disable tree_mkdir_cmd() since it's
|
||||
not used.
|
||||
* widget.c: Declare x_radio_toggle() with arguments.
|
||||
|
||||
* util.h: Remove declarations of some functions defined in
|
||||
background.c.
|
||||
|
||||
|
@ -46,6 +46,8 @@ int statfs (); /* We leave the type ambiguous intentionally here */
|
||||
#include <sys/filsys.h> /* SVR2. */
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef HAVE_FCNTL_H
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
@ -705,6 +705,7 @@ tree_move_cmd (WTree *tree)
|
||||
return 1;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static int
|
||||
tree_mkdir_cmd (WTree *tree)
|
||||
{
|
||||
@ -723,6 +724,7 @@ tree_mkdir_cmd (WTree *tree)
|
||||
chdir (old_dir);
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
tree_rmdir_cmd (WTree *tree)
|
||||
|
@ -67,7 +67,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef PORT_HAS_RADIO_TOGGLE
|
||||
# define x_radio_toggle
|
||||
# define x_radio_toggle(r)
|
||||
#endif
|
||||
|
||||
static int button_event (Gpm_Event *event, WButton *b);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user