From: "Jérémie Roquet" <arkanosis@gmail.com>
To: zsh-workers@zsh.org
Subject: [PATCH] Linkage fix for AIX (missing mod_export)
Date: Fri, 13 May 2011 10:54:38 +0200 [thread overview]
Message-ID: <BANLkTinOFkKEke7fhE36jjGRYfQFw2mT-g@mail.gmail.com> (raw)
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
reply other threads:[~2011-05-13 8:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTinOFkKEke7fhE36jjGRYfQFw2mT-g@mail.gmail.com \
--to=arkanosis@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).