Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
b6d0e7ca
Commit
b6d0e7ca
authored
Jul 10, 2018
by
Nick Mathewson
🎨
Browse files
Rename tm_cvt to time_to_tm
parent
e7f5f48d
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/lib/encoding/time_fmt.c
View file @
b6d0e7ca
...
...
@@ -21,7 +21,7 @@
#include
"lib/malloc/malloc.h"
#include
"lib/string/printf.h"
#include
"lib/string/scanf.h"
#include
"lib/wallclock/t
m_cvt
.h"
#include
"lib/wallclock/t
ime_to_tm
.h"
#include
<string.h>
#include
<time.h>
...
...
src/lib/log/log.c
View file @
b6d0e7ca
...
...
@@ -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/t
m_cvt
.h"
#include
"lib/wallclock/t
ime_to_tm
.h"
#include
"lib/fdio/fdio.h"
#ifdef HAVE_ANDROID_LOG_H
...
...
src/lib/wallclock/include.am
View file @
b6d0e7ca
...
...
@@ -7,7 +7,7 @@ endif
src_lib_libtor_wallclock_a_SOURCES = \
src/lib/wallclock/approx_time.c \
src/lib/wallclock/t
m_cvt
.c \
src/lib/wallclock/t
ime_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/t
m_cvt
.h \
src/lib/wallclock/t
ime_to_tm
.h \
src/lib/wallclock/tor_gettimeofday.h
src/lib/wallclock/t
m_cvt
.c
→
src/lib/wallclock/t
ime_to_tm
.c
View file @
b6d0e7ca
...
...
@@ -4,14 +4,14 @@
/* See LICENSE for licensing information */
/**
* \file t
m_cvt
.c
* \brief Convert to
and from
struct tm, portably.
* \file t
ime_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/t
m_cvt
.h"
#include
"lib/wallclock/t
ime_to_tm
.h"
#include
"lib/string/printf.h"
#include
"lib/err/torerr.h"
...
...
src/lib/wallclock/t
m_cvt
.h
→
src/lib/wallclock/t
ime_to_tm
.h
View file @
b6d0e7ca
...
...
@@ -4,12 +4,12 @@
/* See LICENSE for licensing information */
/**
* \file t
m_cvt
.h
* \brief Header for t
m_cvt
.c
* \file t
ime_to_tm
.h
* \brief Header for t
ime_to_tm
.c
**/
#ifndef TOR_WALLCLOCK_T
M_CVT
_H
#define TOR_WALLCLOCK_T
M_CVT
_H
#ifndef TOR_WALLCLOCK_T
IME_TO_TM
_H
#define TOR_WALLCLOCK_T
IME_TO_TM
_H
#include
<sys/types.h>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment