cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3171 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
aa20fcf7b0
commit
bbac1bb047
34
src/proto.h
34
src/proto.h
|
@ -109,8 +109,8 @@ extern regmatch_t regmatches[10];
|
||||||
#ifdef ENABLE_COLOR
|
#ifdef ENABLE_COLOR
|
||||||
extern regex_t syntaxfile_regexp;
|
extern regex_t syntaxfile_regexp;
|
||||||
extern regmatch_t synfilematches[1];
|
extern regmatch_t synfilematches[1];
|
||||||
#endif /* ENABLE_COLOR */
|
#endif
|
||||||
#endif /* HAVE_REGEX_H */
|
#endif
|
||||||
|
|
||||||
#ifndef NANO_SMALL
|
#ifndef NANO_SMALL
|
||||||
extern toggle *toggles;
|
extern toggle *toggles;
|
||||||
|
@ -131,6 +131,15 @@ extern char *homedir;
|
||||||
|
|
||||||
/* The functions we want available. */
|
/* The functions we want available. */
|
||||||
|
|
||||||
|
/* Public functions in browser.c. */
|
||||||
|
#ifndef DISABLE_BROWSER
|
||||||
|
char *do_browser(char *path, DIR *dir);
|
||||||
|
char **browser_init(const char *path, int *longest, size_t *numents, DIR
|
||||||
|
*dir);
|
||||||
|
char *do_browse_from(const char *inpath);
|
||||||
|
void striponedir(char *path);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Public functions in chars.c. */
|
/* Public functions in chars.c. */
|
||||||
#ifndef HAVE_ISBLANK
|
#ifndef HAVE_ISBLANK
|
||||||
bool nisblank(int c);
|
bool nisblank(int c);
|
||||||
|
@ -201,21 +210,12 @@ bool is_valid_unicode(wchar_t wc);
|
||||||
bool is_valid_mbstring(const char *s);
|
bool is_valid_mbstring(const char *s);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Public functions in browser.c. */
|
|
||||||
#ifndef DISABLE_BROWSER
|
|
||||||
char *do_browser(char *path, DIR *dir);
|
|
||||||
char **browser_init(const char *path, int *longest, size_t *numents, DIR
|
|
||||||
*dir);
|
|
||||||
char *do_browse_from(const char *inpath);
|
|
||||||
void striponedir(char *path);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Public functions in color.c. */
|
/* Public functions in color.c. */
|
||||||
#ifdef ENABLE_COLOR
|
#ifdef ENABLE_COLOR
|
||||||
void set_colorpairs(void);
|
void set_colorpairs(void);
|
||||||
void color_init(void);
|
void color_init(void);
|
||||||
void color_update(void);
|
void color_update(void);
|
||||||
#endif /* ENABLE_COLOR */
|
#endif
|
||||||
|
|
||||||
/* Public functions in cut.c. */
|
/* Public functions in cut.c. */
|
||||||
void cutbuffer_reset(void);
|
void cutbuffer_reset(void);
|
||||||
|
@ -475,10 +475,10 @@ char *parse_next_regex(char *ptr);
|
||||||
bool nregcomp(const char *regex, int eflags);
|
bool nregcomp(const char *regex, int eflags);
|
||||||
void parse_syntax(char *ptr);
|
void parse_syntax(char *ptr);
|
||||||
void parse_colors(char *ptr, bool icase);
|
void parse_colors(char *ptr, bool icase);
|
||||||
#endif /* ENABLE_COLOR */
|
#endif
|
||||||
void parse_rcfile(FILE *rcstream);
|
void parse_rcfile(FILE *rcstream);
|
||||||
void do_rcfile(void);
|
void do_rcfile(void);
|
||||||
#endif /* ENABLE_NANORC */
|
#endif
|
||||||
|
|
||||||
/* Public functions in search.c. */
|
/* Public functions in search.c. */
|
||||||
#ifdef HAVE_REGEX_H
|
#ifdef HAVE_REGEX_H
|
||||||
|
@ -530,7 +530,7 @@ char *get_history_newer(filestruct **h);
|
||||||
#ifndef DISABLE_TABCOMP
|
#ifndef DISABLE_TABCOMP
|
||||||
char *get_history_completion(filestruct **h, const char *s, size_t len);
|
char *get_history_completion(filestruct **h, const char *s, size_t len);
|
||||||
#endif
|
#endif
|
||||||
#endif /* !NANO_SMALL */
|
#endif
|
||||||
|
|
||||||
/* Public functions in text.c. */
|
/* Public functions in text.c. */
|
||||||
#ifndef NANO_SMALL
|
#ifndef NANO_SMALL
|
||||||
|
@ -568,7 +568,7 @@ bool find_paragraph(size_t *const quote, size_t *const par);
|
||||||
void do_justify(bool full_justify);
|
void do_justify(bool full_justify);
|
||||||
void do_justify_void(void);
|
void do_justify_void(void);
|
||||||
void do_full_justify(void);
|
void do_full_justify(void);
|
||||||
#endif /* !DISABLE_JUSTIFY */
|
#endif
|
||||||
#ifndef DISABLE_SPELLER
|
#ifndef DISABLE_SPELLER
|
||||||
bool do_int_spell_fix(const char *word);
|
bool do_int_spell_fix(const char *word);
|
||||||
const char *do_int_speller(const char *tempfile_name);
|
const char *do_int_speller(const char *tempfile_name);
|
||||||
|
@ -596,7 +596,7 @@ ssize_t ngetline(char **lineptr, size_t *n, FILE *stream);
|
||||||
#ifndef HAVE_GETDELIM
|
#ifndef HAVE_GETDELIM
|
||||||
ssize_t ngetdelim(char **lineptr, size_t *n, int delim, FILE *stream);
|
ssize_t ngetdelim(char **lineptr, size_t *n, int delim, FILE *stream);
|
||||||
#endif
|
#endif
|
||||||
#endif /* !NANO_SMALL && ENABLE_NANORC */
|
#endif
|
||||||
#ifdef HAVE_REGEX_H
|
#ifdef HAVE_REGEX_H
|
||||||
#ifdef BROKEN_REGEXEC
|
#ifdef BROKEN_REGEXEC
|
||||||
int safe_regexec(const regex_t *preg, const char *string, size_t nmatch,
|
int safe_regexec(const regex_t *preg, const char *string, size_t nmatch,
|
||||||
|
|
Loading…
Reference in New Issue