zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] Linkage fix for AIX (missing mod_export)
@ 2011-05-13  8:54 Jérémie Roquet
  0 siblings, 0 replies; only message in thread
From: Jérémie Roquet @ 2011-05-13  8:54 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-13  8:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-13  8:54 [PATCH] Linkage fix for AIX (missing mod_export) Jérémie Roquet

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).