1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-13 11:21:13 +02:00

45487: Missing mod_export declarations for AIX

This commit is contained in:
Peter Stephenson 2020-02-24 10:55:48 +00:00
parent 50df0e0bb9
commit a6a1b28b98
7 changed files with 12 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2020-02-24 Peter Stephenson <p.stephenson@samsung.com>
* 45487: Src/Zle/zle_keymap.c, Src/Zle/zle_main.c,
Src/Zle/zle_move.c, Src/builtin.c, Src/compat.c, Src/utils.c:
Add missing mod_export for AIX compilation.
2020-02-19 Daniel Shahaf <danielsh@apache.org> 2020-02-19 Daniel Shahaf <danielsh@apache.org>
* 45447: Completion/Zsh/Command/_zstyle, * 45447: Completion/Zsh/Command/_zstyle,

View file

@ -404,7 +404,7 @@ scankeys(HashNode hn, UNUSED(int flags))
/**************************/ /**************************/
/**/ /**/
Keymap mod_export Keymap
openkeymap(char *name) openkeymap(char *name)
{ {
KeymapName n = (KeymapName) keymapnamtab->getnode(keymapnamtab, name); KeymapName n = (KeymapName) keymapnamtab->getnode(keymapnamtab, name);

View file

@ -1056,7 +1056,7 @@ getrestchar(int inchar, char *outstr, int *outcount)
#endif #endif
/**/ /**/
void mod_export void
redrawhook(void) redrawhook(void)
{ {
Thingy initthingy; Thingy initthingy;

View file

@ -166,7 +166,7 @@ decpos(int *pos)
*/ */
/**/ /**/
char * mod_export char *
backwardmetafiedchar(char *start, char *endptr, convchar_t *retchr) backwardmetafiedchar(char *start, char *endptr, convchar_t *retchr)
{ {
#ifdef MULTIBYTE_SUPPORT #ifdef MULTIBYTE_SUPPORT

View file

@ -2597,7 +2597,7 @@ typeset_single(char *cname, char *pname, Param pm, UNUSED(int func),
*/ */
/**/ /**/
int mod_export int
bin_typeset(char *name, char **argv, LinkList assigns, Options ops, int func) bin_typeset(char *name, char **argv, LinkList assigns, Options ops, int func)
{ {
Param pm; Param pm;

View file

@ -496,7 +496,7 @@ zgetdir(struct dirsav *d)
*/ */
/**/ /**/
char * mod_export char *
zgetcwd(void) zgetcwd(void)
{ {
char *ret = zgetdir(NULL); char *ret = zgetdir(NULL);

View file

@ -1023,7 +1023,7 @@ xsymlinks(char *s, int full)
*/ */
/**/ /**/
char * mod_export char *
xsymlink(char *s, int heap) xsymlink(char *s, int heap)
{ {
if (*s != '/') if (*s != '/')