diff options
author | Doug MacEachern <dougm@apache.org> | 2000-08-02 05:26:45 +0000 |
---|---|---|
committer | Doug MacEachern <dougm@apache.org> | 2000-08-02 05:26:45 +0000 |
commit | 1a1463dbfc6e28b6a5852142b0c87d4abe33c3d9 (patch) | |
tree | 4da0bfd73d36292921960aaabc877a57e680b8c4 /time/win32/timestr.c | |
parent | 4dd06339dd5b46bd735c56dc3738146416f52ccf (diff) | |
download | apr-1a1463dbfc6e28b6a5852142b0c87d4abe33c3d9.tar.gz |
prefix libapr functions and types with apr_
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60470 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time/win32/timestr.c')
-rw-r--r-- | time/win32/timestr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/time/win32/timestr.c b/time/win32/timestr.c index 1c118b07e..df8254c55 100644 --- a/time/win32/timestr.c +++ b/time/win32/timestr.c @@ -64,13 +64,13 @@ APR_VAR_EXPORT const char ap_day_snames[7][4] = "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; -ap_status_t ap_rfc822_date(char *date_str, ap_time_t t) +apr_status_t apr_rfc822_date(char *date_str, apr_time_t t) { ap_exploded_time_t xt; const char *s; int real_year; - ap_explode_gmt(&xt, t); + apr_explode_gmt(&xt, t); /* example: "Sat, 08 Jan 2000 18:31:41 GMT" */ /* 12345678901234567890123456789 */ @@ -112,7 +112,7 @@ ap_status_t ap_rfc822_date(char *date_str, ap_time_t t) return APR_SUCCESS; } -ap_status_t ap_ctime(char *date_str, ap_time_t t) +apr_status_t apr_ctime(char *date_str, apr_time_t t) { ap_exploded_time_t xt; const char *s; @@ -121,7 +121,7 @@ ap_status_t ap_ctime(char *date_str, ap_time_t t) /* example: "Wed Jun 30 21:49:08 1993" */ /* 123456789012345678901234 */ - ap_explode_localtime(&xt, t); + apr_explode_localtime(&xt, t); s = &ap_day_snames[xt.tm_wday][0]; *date_str++ = *s++; *date_str++ = *s++; @@ -154,7 +154,7 @@ ap_status_t ap_ctime(char *date_str, ap_time_t t) return APR_SUCCESS; } -ap_status_t ap_strftime(char *s, ap_size_t *retsize, ap_size_t max, +apr_status_t apr_strftime(char *s, apr_size_t *retsize, apr_size_t max, const char *format, ap_exploded_time_t *xt) { struct tm tm; |