diff options
Diffstat (limited to 'src/lib/wallclock')
-rw-r--r-- | src/lib/wallclock/include.am | 4 | ||||
-rw-r--r-- | src/lib/wallclock/time_to_tm.c (renamed from src/lib/wallclock/tm_cvt.c) | 6 | ||||
-rw-r--r-- | src/lib/wallclock/time_to_tm.h (renamed from src/lib/wallclock/tm_cvt.h) | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/wallclock/include.am b/src/lib/wallclock/include.am index 7864c21e16..1961639bd7 100644 --- a/src/lib/wallclock/include.am +++ b/src/lib/wallclock/include.am @@ -7,7 +7,7 @@ endif src_lib_libtor_wallclock_a_SOURCES = \ src/lib/wallclock/approx_time.c \ - src/lib/wallclock/tm_cvt.c \ + src/lib/wallclock/time_to_tm.c \ src/lib/wallclock/tor_gettimeofday.c src_lib_libtor_wallclock_testing_a_SOURCES = \ @@ -18,5 +18,5 @@ src_lib_libtor_wallclock_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS) noinst_HEADERS += \ src/lib/wallclock/approx_time.h \ src/lib/wallclock/timeval.h \ - src/lib/wallclock/tm_cvt.h \ + src/lib/wallclock/time_to_tm.h \ src/lib/wallclock/tor_gettimeofday.h diff --git a/src/lib/wallclock/tm_cvt.c b/src/lib/wallclock/time_to_tm.c index 4a51a4ab3a..6543b97e37 100644 --- a/src/lib/wallclock/tm_cvt.c +++ b/src/lib/wallclock/time_to_tm.c @@ -4,14 +4,14 @@ /* See LICENSE for licensing information */ /** - * \file tm_cvt.c - * \brief Convert to and from struct tm, portably. + * \file time_to_tm.c + * \brief Convert to struct tm, portably. **/ #include "orconfig.h" #include "lib/cc/torint.h" #include "lib/cc/compat_compiler.h" -#include "lib/wallclock/tm_cvt.h" +#include "lib/wallclock/time_to_tm.h" #include "lib/string/printf.h" #include "lib/err/torerr.h" diff --git a/src/lib/wallclock/tm_cvt.h b/src/lib/wallclock/time_to_tm.h index a1cdc80ef1..0527a97b34 100644 --- a/src/lib/wallclock/tm_cvt.h +++ b/src/lib/wallclock/time_to_tm.h @@ -4,12 +4,12 @@ /* See LICENSE for licensing information */ /** - * \file tm_cvt.h - * \brief Header for tm_cvt.c + * \file time_to_tm.h + * \brief Header for time_to_tm.c **/ -#ifndef TOR_WALLCLOCK_TM_CVT_H -#define TOR_WALLCLOCK_TM_CVT_H +#ifndef TOR_WALLCLOCK_TIME_TO_TM_H +#define TOR_WALLCLOCK_TIME_TO_TM_H #include <sys/types.h> |