From ba4f5e80ec9d7e145718e79fed6e57a852c86c12 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 15 Apr 1999 18:15:04 +0000 Subject: zsh-3.1.5-pws-8 --- Src/init.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'Src/init.c') diff --git a/Src/init.c b/Src/init.c index 10013c52b..d66d157c9 100644 --- a/Src/init.c +++ b/Src/init.c @@ -890,6 +890,20 @@ init_bltinmods(void) mod.nam = NULL; } +/**/ +void +noop_function(void) +{ + /* do nothing */ +} + +/**/ +void +noop_function_int(int nothing) +{ + /* do nothing */ +} + /* ZLE entry point pointers. They are defined here because the initial * * values depend on whether ZLE is linked in or not -- if it is, we * * avoid wasting space with the fallback functions. No other source * @@ -898,7 +912,7 @@ init_bltinmods(void) #ifdef LINKED_XMOD_zle /**/ -ZleVoidFn trashzleptr; +ZleVoidFn trashzleptr = noop_function; /**/ ZleVoidFn gotwordptr; /**/ @@ -920,20 +934,6 @@ ZleReadFn zlereadptr = autoload_zleread; ZleReadFn zlereadptr = fallback_zleread; # endif /* !UNLINKED_XMOD_zle */ -/**/ -void -noop_function(void) -{ - /* do nothing */ -} - -/**/ -void -noop_function_int(int nothing) -{ - /* do nothing */ -} - /**/ # ifdef UNLINKED_XMOD_zle -- cgit 1.4.1