Skip to content

Commit 41b560e

Browse files
address comments
1 parent d02f1e1 commit 41b560e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

libc/src/time/time_utils.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ int64_t mktime_internal(const tm *tm_out);
3030

3131
// Update the "tm" structure's year, month, etc. members from seconds.
3232
// "total_seconds" is the number of seconds since January 1st, 1970.
33-
extern int64_t update_from_seconds(int64_t total_seconds, tm *tm);
33+
int64_t update_from_seconds(int64_t total_seconds, tm *tm);
3434

3535
// TODO(michaelrj): move these functions to use ErrorOr instead of setting
3636
// errno. They always accompany a specific return value so we only need the one
@@ -133,9 +133,7 @@ class TMReader final {
133133
}
134134

135135
public:
136-
LIBC_INLINE constexpr explicit TMReader(const tm *tmptr) : timeptr(tmptr) {
137-
;
138-
}
136+
LIBC_INLINE constexpr explicit TMReader(const tm *tmptr) : timeptr(tmptr) {}
139137

140138
// Strings
141139
LIBC_INLINE constexpr cpp::optional<cpp::string_view>

0 commit comments

Comments
 (0)