about summary refs log tree commit diff
path: root/Src/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/init.c')
-rw-r--r--Src/init.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/Src/init.c b/Src/init.c
index 4aa268f0d..20e996fdd 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -89,11 +89,6 @@ mod_export int (*getkeyptr) _((int));
 mod_export int alloc_stackp;
 #endif
 
-/**/
-mod_export struct hookdef zshhooks[] = {
-    HOOKDEF("exit", NULL, HOOKF_ALL),
-};
-
 /* keep executing lists until EOF found */
 
 /**/
@@ -565,8 +560,6 @@ setupvals(void)
 # endif
 #endif
 
-    addhookdefs(argzero, zshhooks, sizeof(zshhooks)/sizeof(*zshhooks));
-
     init_eprog();
 
     getkeyptr = NULL;