File tree Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ void release_file(ErrorOr<File *> error_or_file) {
1919 error_or_file.value ()->close ();
2020}
2121
22- ErrorOr<File *> acquire_file (char & filename) {
22+ ErrorOr<File *> acquire_file (char & filename) {
2323 while (1 ) {
2424 if (file_usage == 0 ) {
2525 file_usage = 1 ;
@@ -30,7 +30,7 @@ ErrorOr<File *> acquire_file(char& filename) {
3030 return LIBC_NAMESPACE::openfile (filename, " rb" );
3131}
3232
33- timezone::tzset& get_localtime (struct tm & tm) {
33+ timezone::tzset & get_localtime (struct tm & tm) {
3434 (void )tm;
3535 return nullptr ;
3636}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ LIBC_INLINE volatile int file_usage;
1919namespace LIBC_NAMESPACE_DECL {
2020namespace localtime_utils {
2121
22- timezone::tzset& get_localtime (struct tm & tm);
22+ timezone::tzset & get_localtime (struct tm & tm);
2323
2424} // namespace localtime_utils
2525} // namespace LIBC_NAMESPACE_DECL
Original file line number Diff line number Diff line change 1313namespace LIBC_NAMESPACE_DECL {
1414namespace timezone {
1515
16- tzset& get_tzset (File& file) {
16+ tzset & get_tzset (File & file) {
1717 static tzset result;
1818 (void )file;
1919
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ typedef struct {
2929
3030 // additional fields
3131 int64_t offsets;
32- size_t & size;
32+ size_t & size;
3333} ttinfo;
3434
3535typedef struct {
@@ -39,18 +39,18 @@ typedef struct {
3939 uint64_t tzh_timecnt;
4040 uint64_t tzh_typecnt;
4141 uint64_t tzh_charcnt;
42- ttinfo& ttinfo;
42+ ttinfo & ttinfo;
4343
4444 // additional fields
45- int64_t & tzh_timecnt_transitions;
46- int64_t & tzh_timecnt_indices;
45+ int64_t & tzh_timecnt_transitions;
46+ int64_t & tzh_timecnt_indices;
4747 size_t tzh_timecnt_number_transitions;
48- int64_t & tz;
48+ int64_t & tz;
4949 int8_t global_offset;
5050 int8_t global_isdst;
5151} tzset;
5252
53- tzset& get_tzset (::FILE& file);
53+ tzset & get_tzset (::FILE & file);
5454
5555} // namespace timezone
5656} // namespace LIBC_NAMESPACE_DECL
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ LIBC_INLINE tm *localtime(const time_t *t_ptr) {
106106 return time_utils::gmtime_internal (t_ptr, &result);
107107}
108108
109- LIBC_INLINE struct tm *localtime_internal (const time_t & timer, struct tm & buf) {
109+ LIBC_INLINE struct tm *localtime_internal (const time_t & timer, struct tm & buf) {
110110 if (timer == nullptr ) {
111111 invalid_value ();
112112 return nullptr ;
You can’t perform that action at this time.
0 commit comments