diff options
author | Mark Spencer <markster@digium.com> | 2003-10-26 18:50:49 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-10-26 18:50:49 +0000 |
commit | 4ce283ff18585130bd8edafb6ce7ef3cc216cbab (patch) | |
tree | 7d179763d95152f24ed90027acafdc363c2afcef /stdtime | |
parent | cd5bbf0f35f2c3fa954d3cdfbf79fe207fb3a29a (diff) |
Make it build and run on MacOS X
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'stdtime')
-rwxr-xr-x | stdtime/localtime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdtime/localtime.c b/stdtime/localtime.c index 84ea38f6b..1ad9bf6c9 100755 --- a/stdtime/localtime.c +++ b/stdtime/localtime.c @@ -1187,7 +1187,7 @@ register struct tm * const tmp; #endif /* defined TM_GMTOFF */ } -char * +static char * ctime(timep) const time_t * const timep; { @@ -1200,7 +1200,7 @@ const time_t * const timep; return asctime(localtime(timep)); } -char * +static char * ctime_r(timep, buf) const time_t * const timep; char *buf; |