diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-10 15:25:53 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-10 15:25:53 -0400 |
commit | b6d0e7caa4d11a0142a82aee065e8672b489ca51 (patch) | |
tree | 92c7545ba73810c75fe87bb57ede6546cfbe98bc | |
parent | e7f5f48d68553206b95cbb4f610702c887500124 (diff) | |
download | tor-b6d0e7caa4d11a0142a82aee065e8672b489ca51.tar.gz tor-b6d0e7caa4d11a0142a82aee065e8672b489ca51.zip |
Rename tm_cvt to time_to_tm
-rw-r--r-- | src/lib/encoding/time_fmt.c | 2 | ||||
-rw-r--r-- | src/lib/log/log.c | 2 | ||||
-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 |
5 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/encoding/time_fmt.c b/src/lib/encoding/time_fmt.c index 42b1cc646b..a921fc681c 100644 --- a/src/lib/encoding/time_fmt.c +++ b/src/lib/encoding/time_fmt.c @@ -21,7 +21,7 @@ #include "lib/malloc/malloc.h" #include "lib/string/printf.h" #include "lib/string/scanf.h" -#include "lib/wallclock/tm_cvt.h" +#include "lib/wallclock/time_to_tm.h" #include <string.h> #include <time.h> diff --git a/src/lib/log/log.c b/src/lib/log/log.c index b89747d844..8349041ab1 100644 --- a/src/lib/log/log.c +++ b/src/lib/log/log.c @@ -45,7 +45,7 @@ #include "lib/string/util_string.h" #include "lib/wallclock/tor_gettimeofday.h" #include "lib/wallclock/approx_time.h" -#include "lib/wallclock/tm_cvt.h" +#include "lib/wallclock/time_to_tm.h" #include "lib/fdio/fdio.h" #ifdef HAVE_ANDROID_LOG_H 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> |