summaryrefslogtreecommitdiff
path: root/Src/Zle/zle.h
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2024-03-18 20:02:34 +0100
committerOliver Kiddle <opk@zsh.org>2024-03-18 20:02:34 +0100
commit57248b88830ce56adc243a40c7773fb3825cab34 (patch)
tree3d16fe0c1751200e8efb9223665fdc80e755cff9 /Src/Zle/zle.h
parent25182cc2e69ab1cfeeb3f0faa1d28d774393043b (diff)
downloadzsh-57248b88830ce56adc243a40c7773fb3825cab34.tar.gz
zsh-57248b88830ce56adc243a40c7773fb3825cab34.zip
52750: remove ansi2knr support for old pre-ansi K&R compilers
Diffstat (limited to 'Src/Zle/zle.h')
-rw-r--r--Src/Zle/zle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h
index 010ead3d2..5bb9e7a5e 100644
--- a/Src/Zle/zle.h
+++ b/Src/Zle/zle.h
@@ -186,7 +186,7 @@ typedef struct thingy *Thingy;
/* widgets (ZLE functions) */
-typedef int (*ZleIntFunc) _((char **));
+typedef int (*ZleIntFunc) (char **);
struct widget {
int flags; /* flags (see below) */
@@ -319,7 +319,7 @@ struct vichange {
typedef struct keymap *Keymap;
-typedef void (*KeyScanFunc) _((char *, Thingy, char *, void *));
+typedef void (*KeyScanFunc) (char *, Thingy, char *, void *);
#define invicmdmode() (!strcmp(curkeymapname, "vicmd"))