Commit b6d0e7ca authored by Nick Mathewson's avatar Nick Mathewson 🎨
Browse files

Rename tm_cvt to time_to_tm

parent e7f5f48d
......@@ -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>
......
......@@ -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
......
......@@ -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
......@@ -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"
......
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment