diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-01 18:35:59 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-01 18:35:59 +0000 |
commit | a4e44197ae0f6e237f118e5b30c01eb12c460ec4 (patch) | |
tree | fb6a23f8a1eaaba1e97869ca54245e5bd986045e /Src/Zle/zle_misc.c | |
parent | 2c5eaba1971c212412eb212184ee724cf7d0ac70 (diff) | |
download | zsh-a4e44197ae0f6e237f118e5b30c01eb12c460ec4.tar.gz zsh-a4e44197ae0f6e237f118e5b30c01eb12c460ec4.tar.xz zsh-a4e44197ae0f6e237f118e5b30c01eb12c460ec4.zip |
zsh-workers/8843
Diffstat (limited to 'Src/Zle/zle_misc.c')
-rw-r--r-- | Src/Zle/zle_misc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Src/Zle/zle_misc.c b/Src/Zle/zle_misc.c index 18e38ee3a..3e306da8a 100644 --- a/Src/Zle/zle_misc.c +++ b/Src/Zle/zle_misc.c @@ -833,7 +833,7 @@ executenamedcommand(char *prmt) * suffixlen[256] is the length to remove for non-insertion editing actions. */ /**/ -int suffixlen[257]; +mod_export int suffixlen[257]; /* Shell function to call to remove the suffix. */ @@ -844,7 +844,7 @@ static char *suffixfunc; * removed in the usual word end conditions. */ /**/ -void +mod_export void makesuffix(int n) { suffixlen[256] = suffixlen[' '] = suffixlen['\t'] = suffixlen['\n'] = @@ -858,7 +858,7 @@ makesuffix(int n) * characters that can only be used in braces are included. */ /**/ -void +mod_export void makeparamsuffix(int br, int n) { if(br || unset(KSHARRAYS)) @@ -874,7 +874,7 @@ makeparamsuffix(int br, int n) * remove the suffix. */ /**/ -void +mod_export void makesuffixstr(char *f, char *s, int n) { if (f) { @@ -920,7 +920,7 @@ makesuffixstr(char *f, char *s, int n) /* Remove suffix, if there is one, when inserting character c. */ /**/ -void +mod_export void iremovesuffix(int c, int keep) { if (suffixfunc) { @@ -958,7 +958,7 @@ iremovesuffix(int c, int keep) /* Fix the suffix in place, if there is one, making it non-removable. */ /**/ -void +mod_export void fixsuffix(void) { memset(suffixlen, 0, sizeof(suffixlen)); |