add missing #ifdefs around prototypes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1752 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
c7acf69cb2
commit
14bf80399f
|
@ -149,6 +149,8 @@ CVS code -
|
||||||
- proto.h:
|
- proto.h:
|
||||||
- Remove unused xpt() and add_marked_sameline() prototypes.
|
- Remove unused xpt() and add_marked_sameline() prototypes.
|
||||||
(DLR)
|
(DLR)
|
||||||
|
- Add missing #ifdefs around the nstristr() and get_mouseinput()
|
||||||
|
prototypes. (DLR)
|
||||||
- rcfile.c:
|
- rcfile.c:
|
||||||
- Move "rebinddelete" up in the list of options so that the list
|
- Move "rebinddelete" up in the list of options so that the list
|
||||||
is in alphabetical order. (DLR)
|
is in alphabetical order. (DLR)
|
||||||
|
|
|
@ -438,7 +438,9 @@ int nstricmp(const char *s1, const char *s2);
|
||||||
#ifndef HAVE_STRNCASECMP
|
#ifndef HAVE_STRNCASECMP
|
||||||
int nstrnicmp(const char *s1, const char *s2, size_t n);
|
int nstrnicmp(const char *s1, const char *s2, size_t n);
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef HAVE_STRCASESTR
|
||||||
const char *nstristr(const char *haystack, const char *needle);
|
const char *nstristr(const char *haystack, const char *needle);
|
||||||
|
#endif
|
||||||
#ifndef NANO_SMALL
|
#ifndef NANO_SMALL
|
||||||
const char *revstrstr(const char *haystack, const char *needle, const
|
const char *revstrstr(const char *haystack, const char *needle, const
|
||||||
char *rev_start);
|
char *rev_start);
|
||||||
|
@ -470,7 +472,9 @@ int get_ascii_kbinput(WINDOW *win, int kbinput);
|
||||||
int get_escape_seq_kbinput(WINDOW *win, int *escape_seq, size_t
|
int get_escape_seq_kbinput(WINDOW *win, int *escape_seq, size_t
|
||||||
escape_seq_len);
|
escape_seq_len);
|
||||||
int get_escape_seq_abcd(int kbinput);
|
int get_escape_seq_abcd(int kbinput);
|
||||||
|
#ifndef DISABLE_MOUSE
|
||||||
int get_mouseinput(int *mouse_x, int *mouse_y, int shortcut);
|
int get_mouseinput(int *mouse_x, int *mouse_y, int shortcut);
|
||||||
|
#endif
|
||||||
int do_first_line(void);
|
int do_first_line(void);
|
||||||
int do_last_line(void);
|
int do_last_line(void);
|
||||||
size_t xplustabs(void);
|
size_t xplustabs(void);
|
||||||
|
|
Loading…
Reference in New Issue