svn commit: r184087 - head/lib/libutil
Dag-Erling Smorgrav
des at FreeBSD.org
Mon Oct 20 17:09:51 UTC 2008
Author: des
Date: Mon Oct 20 17:09:50 2008
New Revision: 184087
URL: http://svn.freebsd.org/changeset/base/184087
Log:
Additional style and whitespace fixes.
Modified:
head/lib/libutil/login_times.c
Modified: head/lib/libutil/login_times.c
==============================================================================
--- head/lib/libutil/login_times.c Mon Oct 20 17:07:50 2008 (r184086)
+++ head/lib/libutil/login_times.c Mon Oct 20 17:09:50 2008 (r184087)
@@ -137,11 +137,12 @@ in_ltm(const login_time_t *ltm, struct t
int
in_lt(const login_time_t *ltm, time_t *t)
{
+
return (in_ltm(ltm, localtime(t), t));
}
int
-in_ltms(const login_time_t *ltm, struct tm * tm, time_t *t)
+in_ltms(const login_time_t *ltm, struct tm *tm, time_t *t)
{
int i = 0;
@@ -156,5 +157,6 @@ in_ltms(const login_time_t *ltm, struct
int
in_lts(const login_time_t *ltm, time_t *t)
{
+
return (in_ltms(ltm, localtime(t), t));
}
More information about the svn-src-head
mailing list