Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] Linkage fix for AIX (missing mod_export)



Hello,

zsh 4.3.11-dev-3 does not link on AIX.

The following patch fixes this.

BTW, compilation is now OK. Thanks Wayne, Peter for your help.

Best regards,

---
diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c
index 03a514c..45e3044 100644
--- a/Src/Zle/zle_utils.c
+++ b/Src/Zle/zle_utils.c
@@ -596,7 +596,7 @@ struct zle_position *zle_positions;
  */

 /**/
-void
+mod_export void
 zle_save_positions(void)
 {
     struct region_highlight *rhp;
@@ -653,7 +653,7 @@ zle_save_positions(void)
  */

 /**/
-void
+mod_export void
 zle_restore_positions(void)
 {
     struct zle_position *oldpos = zle_positions;

-- 
Jérémie



Messages sorted by: Reverse Date, Date, Thread, Author