diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/pattern.c | 4 | ||||
-rw-r--r-- | Src/signals.c | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/Src/pattern.c b/Src/pattern.c index c86f86d69..a7ef12573 100644 --- a/Src/pattern.c +++ b/Src/pattern.c @@ -237,7 +237,7 @@ static const char zpc_chars[ZPC_COUNT] = { * NULL means no way of turning this on or off. */ /**/ -const char *zpc_strings[ZPC_COUNT] = { +mod_export const char *zpc_strings[ZPC_COUNT] = { NULL, NULL, "|", NULL, "~", "(", "?", "*", "[", "<", "^", "#", NULL, "?(", "*(", "+(", "!(", "@(" }; @@ -247,7 +247,7 @@ const char *zpc_strings[ZPC_COUNT] = { * using "disable -p". */ /**/ -char zpc_disables[ZPC_COUNT]; +mod_export char zpc_disables[ZPC_COUNT]; /* * Stack of saved (compressed) zpc_disables for function scope. diff --git a/Src/signals.c b/Src/signals.c index 046ee6a4a..c8f5fbcca 100644 --- a/Src/signals.c +++ b/Src/signals.c @@ -185,7 +185,7 @@ noholdintr(void) * only the given signal */ /**/ -sigset_t +mod_export sigset_t signal_mask(int sig) { sigset_t set; @@ -202,7 +202,8 @@ signal_mask(int sig) /**/ #ifndef BSD_SIGNALS -sigset_t +/**/ +mod_export sigset_t signal_block(sigset_t set) { sigset_t oset; @@ -245,7 +246,8 @@ signal_block(sigset_t set) /* Unblock the signals in the given signal * * set. Return the old signal set. */ -sigset_t +/**/ +mod_export sigset_t signal_unblock(sigset_t set) { sigset_t oset; |