diff options
| author | Oliver Kiddle <opk@zsh.org> | 2025-10-31 09:33:27 +0100 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2025-10-31 09:33:27 +0100 |
| commit | 6ac61e9a8f6392c1c625f9b46c834e87a357b8d4 (patch) | |
| tree | efb3847402d8a449ce83363f697cdefda3f7d437 /Src/Zle | |
| parent | Dan Drake: 53803: make adam1 prompt wrap len and ellipsized path configurable (diff) | |
| download | zsh-6ac61e9a8f6392c1c625f9b46c834e87a357b8d4.tar zsh-6ac61e9a8f6392c1c625f9b46c834e87a357b8d4.tar.gz zsh-6ac61e9a8f6392c1c625f9b46c834e87a357b8d4.tar.bz2 zsh-6ac61e9a8f6392c1c625f9b46c834e87a357b8d4.tar.lz zsh-6ac61e9a8f6392c1c625f9b46c834e87a357b8d4.tar.xz zsh-6ac61e9a8f6392c1c625f9b46c834e87a357b8d4.tar.zst zsh-6ac61e9a8f6392c1c625f9b46c834e87a357b8d4.zip | |
54007: remove some uses of mod_export that were likely unintended
Diffstat (limited to 'Src/Zle')
| -rw-r--r-- | Src/Zle/complete.c | 2 | ||||
| -rw-r--r-- | Src/Zle/compresult.c | 2 | ||||
| -rw-r--r-- | Src/Zle/zle_keymap.c | 2 | ||||
| -rw-r--r-- | Src/Zle/zle_main.c | 5 | ||||
| -rw-r--r-- | Src/Zle/zle_misc.c | 2 |
5 files changed, 6 insertions, 7 deletions
diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c index 342611f1f..3e1c8b8d2 100644 --- a/Src/Zle/complete.c +++ b/Src/Zle/complete.c @@ -183,7 +183,7 @@ cpcmatcher(Cmatcher m) */ /**/ -mod_export Cpattern +static Cpattern cp_cpattern_element(Cpattern o) { Cpattern n = zalloc(sizeof(struct cpattern)); diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index 7dbc5676a..46de4466f 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -1961,7 +1961,7 @@ asklist(void) } /**/ -mod_export int +static int printlist(int over, CLPrintFunc printm, int showall) { Cmgroup g; diff --git a/Src/Zle/zle_keymap.c b/Src/Zle/zle_keymap.c index cda24847d..95a60bcc2 100644 --- a/Src/Zle/zle_keymap.c +++ b/Src/Zle/zle_keymap.c @@ -1500,7 +1500,7 @@ default_bindings(void) */ /**/ -mod_export ZLE_INT_T +static ZLE_INT_T getrestchar_keybuf(void) { char c; diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c index 1afb1bf58..ab0b51374 100644 --- a/Src/Zle/zle_main.c +++ b/Src/Zle/zle_main.c @@ -126,8 +126,7 @@ mod_export Thingy lbindk, bindk; /**/ int insmode; -/**/ -mod_export int eofchar; +static int eofchar; static int eofsent; /* @@ -2048,7 +2047,7 @@ resetprompt(UNUSED(char **args)) /* same bug called from outside zle */ /**/ -mod_export void +static void zle_resetprompt(void) { reexpandprompt(); diff --git a/Src/Zle/zle_misc.c b/Src/Zle/zle_misc.c index e17a08d53..60982d92e 100644 --- a/Src/Zle/zle_misc.c +++ b/Src/Zle/zle_misc.c @@ -1539,7 +1539,7 @@ addsuffix(int tp, int flags, ZLE_STRING_T chars, int lenstr, int lensuf) /* Same as addsuffix, but from metafied string */ /**/ -mod_export void +static void addsuffixstring(int tp, int flags, char *chars, int lensuf) { int slen, alloclen; |
