mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-25 06:09:38 +03:00
Fix lots of compiler warnings
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@418 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
b7d00efd6d
commit
651216388c
2
global.c
2
global.c
@ -170,7 +170,7 @@ void shortcut_init(int unjustify)
|
|||||||
"", *nano_mark_msg = "", *nano_delete_msg =
|
"", *nano_mark_msg = "", *nano_delete_msg =
|
||||||
"", *nano_backspace_msg = "", *nano_tab_msg =
|
"", *nano_backspace_msg = "", *nano_tab_msg =
|
||||||
"", *nano_enter_msg = "", *nano_case_msg =
|
"", *nano_enter_msg = "", *nano_case_msg =
|
||||||
"", *nano_cancel_msg = "", *nano_unjustify_msg;
|
"", *nano_cancel_msg = "", *nano_unjustify_msg = "";
|
||||||
|
|
||||||
#ifndef NANO_SMALL
|
#ifndef NANO_SMALL
|
||||||
nano_help_msg = _("Invoke the help menu");
|
nano_help_msg = _("Invoke the help menu");
|
||||||
|
6
nano.c
6
nano.c
@ -64,10 +64,12 @@
|
|||||||
int fill = 0; /* Fill - where to wrap lines, basically */
|
int fill = 0; /* Fill - where to wrap lines, basically */
|
||||||
static char *alt_speller; /* Alternative spell command */
|
static char *alt_speller; /* Alternative spell command */
|
||||||
struct termios oldterm; /* The user's original term settings */
|
struct termios oldterm; /* The user's original term settings */
|
||||||
static char *help_text_init = "";
|
|
||||||
/* Initial message, not including shortcuts */
|
|
||||||
static struct sigaction act; /* For all out fun signal handlers */
|
static struct sigaction act; /* For all out fun signal handlers */
|
||||||
|
|
||||||
|
#if !defined(NANO_SMALL) && !defined(DISABLE_HELP)
|
||||||
|
static char *help_text_init = ""; /* Initial message, not including shortcuts */
|
||||||
|
#endif
|
||||||
|
|
||||||
char *last_search = NULL; /* Last string we searched for */
|
char *last_search = NULL; /* Last string we searched for */
|
||||||
char *last_replace = NULL; /* Last replacement string */
|
char *last_replace = NULL; /* Last replacement string */
|
||||||
int search_last_line; /* Is this the last search line? */
|
int search_last_line; /* Is this the last search line? */
|
||||||
|
1
proto.h
1
proto.h
@ -135,6 +135,7 @@ void replace_abort(void);
|
|||||||
void add_to_cutbuffer(filestruct * inptr);
|
void add_to_cutbuffer(filestruct * inptr);
|
||||||
void do_replace_highlight(int highlight_flag, char *word);
|
void do_replace_highlight(int highlight_flag, char *word);
|
||||||
void keypad_on(int yesno);
|
void keypad_on(int yesno);
|
||||||
|
void nano_disabled_msg(void);
|
||||||
#ifdef NANO_EXTRA
|
#ifdef NANO_EXTRA
|
||||||
void do_credits(void);
|
void do_credits(void);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user