summaryrefslogtreecommitdiffstats
path: root/contrib/file/src/localtime_r.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-10-29 17:51:48 +0000
committerdelphij <delphij@FreeBSD.org>2015-10-29 17:51:48 +0000
commite6f47aa69657cac8d80c4361b92a4443b7540770 (patch)
tree676076923b2c91d1a095619e5e8501d3d1d1b13d /contrib/file/src/localtime_r.c
parent0528cc36312cf19f8a6e72069d7287150a69b514 (diff)
downloadFreeBSD-src-e6f47aa69657cac8d80c4361b92a4443b7540770.zip
FreeBSD-src-e6f47aa69657cac8d80c4361b92a4443b7540770.tar.gz
MFC r287453,287454,288143:
file 5.25. Relnotes: yes
Diffstat (limited to 'contrib/file/src/localtime_r.c')
-rw-r--r--contrib/file/src/localtime_r.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/file/src/localtime_r.c b/contrib/file/src/localtime_r.c
index 69d78d9..b0d996d 100644
--- a/contrib/file/src/localtime_r.c
+++ b/contrib/file/src/localtime_r.c
@@ -1,15 +1,15 @@
-/* $File: localtime_r.c,v 1.1 2015/01/09 19:28:32 christos Exp $ */
+/* $File: localtime_r.c,v 1.2 2015/07/11 14:41:37 christos Exp $ */
#include "file.h"
#ifndef lint
-FILE_RCSID("@(#)$File: localtime_r.c,v 1.1 2015/01/09 19:28:32 christos Exp $")
+FILE_RCSID("@(#)$File: localtime_r.c,v 1.2 2015/07/11 14:41:37 christos Exp $")
#endif /* lint */
#include <time.h>
#include <string.h>
/* asctime_r is not thread-safe anyway */
struct tm *
-localtime_r(const time_t t, struct tm *tm)
+localtime_r(const time_t *t, struct tm *tm)
{
struct tm *tmp = localtime(t);
if (tmp == NULL)
OpenPOWER on IntegriCloud