Mercurial > vim
comparison src/mbyte.c @ 15555:d89c5b339c2a v8.1.0785
patch 8.1.0785: depending on the configuration some functions are unused
commit https://github.com/vim/vim/commit/113e10721f42fc2500b63fe95193f8665658a90c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 20 15:30:40 2019 +0100
patch 8.1.0785: depending on the configuration some functions are unused
Problem: Depending on the configuration some functions are unused.
Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle,
closes #3822)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 20 Jan 2019 15:45:07 +0100 |
parents | dd725a8ab112 |
children | 536dd2bc5ac9 |
comparison
equal
deleted
inserted
replaced
15554:496f146a0836 | 15555:d89c5b339c2a |
---|---|
842 n = 4; | 842 n = 4; |
843 } | 843 } |
844 return n; | 844 return n; |
845 } | 845 } |
846 | 846 |
847 #if defined(FEAT_QUICKFIX) || defined(PROTO) | |
847 /* | 848 /* |
848 * Remove all BOM from "s" by moving remaining text. | 849 * Remove all BOM from "s" by moving remaining text. |
849 */ | 850 */ |
850 void | 851 void |
851 remove_bom(char_u *s) | 852 remove_bom(char_u *s) |
861 else | 862 else |
862 ++p; | 863 ++p; |
863 } | 864 } |
864 } | 865 } |
865 } | 866 } |
867 #endif | |
866 | 868 |
867 /* | 869 /* |
868 * Get class of pointer: | 870 * Get class of pointer: |
869 * 0 for blank or NUL | 871 * 0 for blank or NUL |
870 * 1 for punctuation | 872 * 1 for punctuation |