Commit 0b80f936 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

add missing #ifdef

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2310 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 4 additions and 0 deletions
+4 -0
...@@ -762,6 +762,7 @@ size_t mbstrnlen(const char *s, size_t maxlen) ...@@ -762,6 +762,7 @@ size_t mbstrnlen(const char *s, size_t maxlen)
#endif #endif
} }
#ifndef DISABLE_TABCOMP
/* Find the one-based position of the last occurrence of character c in /* Find the one-based position of the last occurrence of character c in
* the first n characters of s. Return 0 if c is not found. */ * the first n characters of s. Return 0 if c is not found. */
size_t strrchrn(const char *s, int c, size_t n) size_t strrchrn(const char *s, int c, size_t n)
...@@ -775,3 +776,4 @@ size_t strrchrn(const char *s, int c, size_t n) ...@@ -775,3 +776,4 @@ size_t strrchrn(const char *s, int c, size_t n)
return 0; return 0;
} }
#endif
...@@ -205,7 +205,9 @@ size_t mbstrlen(const char *s); ...@@ -205,7 +205,9 @@ size_t mbstrlen(const char *s);
size_t nstrnlen(const char *s, size_t maxlen); size_t nstrnlen(const char *s, size_t maxlen);
#endif #endif
size_t mbstrnlen(const char *s, size_t maxlen); size_t mbstrnlen(const char *s, size_t maxlen);
#ifndef DISABLE_TABCOMP
size_t strrchrn(const char *s, int c, size_t n); size_t strrchrn(const char *s, int c, size_t n);
#endif
/* Public functions in color.c. */ /* Public functions in color.c. */
#ifdef ENABLE_COLOR #ifdef ENABLE_COLOR
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment