summaryrefslogtreecommitdiffstats
path: root/Src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/utils.c')
-rw-r--r--Src/utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/utils.c b/Src/utils.c
index 5e41b712b..e7e3f4f8d 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -1071,7 +1071,7 @@ uid_t cached_uid;
char *cached_username;
/**/
-char *
+mod_export char *
get_username(void)
{
#ifdef USE_GETPWUID
@@ -2748,7 +2748,7 @@ read_poll(int fd, int *readchar, int polltty, zlong microseconds)
*/
/**/
-long
+mod_export long
timespec_diff_us(const struct timespec *t1, const struct timespec *t2)
{
int reverse = (t1->tv_sec > t2->tv_sec);
@@ -2793,7 +2793,7 @@ zmonotime(time_t *tloc)
*/
/**/
-int
+mod_export int
zsleep(long us)
{
#ifdef HAVE_NANOSLEEP