Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
0b9c0fb4
Commit
0b9c0fb4
authored
10 years ago
by
René Kijewski
Browse files
Options
Downloads
Plain Diff
Merge pull request #1154 from Kijewski/issue-1150
msp430: fix missing members in `struct tm`
parents
a68f4f2d
55b12034
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cpu/msp430-common/include/time.h
+3
-1
3 additions, 1 deletion
cpu/msp430-common/include/time.h
with
3 additions
and
1 deletion
cpu/msp430-common/include/time.h
+
3
−
1
View file @
0b9c0fb4
...
@@ -2,13 +2,15 @@
...
@@ -2,13 +2,15 @@
#define MSPGCC_TIME_H
#define MSPGCC_TIME_H
struct
tm
{
struct
tm
{
int
tm_sec
;
/* Seconds after the minute [0,
59
] */
int
tm_sec
;
/* Seconds after the minute [0,
60
] */
int
tm_min
;
/* Minutes after the hour [0, 59] */
int
tm_min
;
/* Minutes after the hour [0, 59] */
int
tm_hour
;
/* Hours since midnight [0, 23] */
int
tm_hour
;
/* Hours since midnight [0, 23] */
int
tm_mday
;
/* Day of the month [1, 31] */
int
tm_mday
;
/* Day of the month [1, 31] */
int
tm_mon
;
/* Months since January [0, 11] */
int
tm_mon
;
/* Months since January [0, 11] */
int
tm_year
;
/* Years since 1900 */
int
tm_year
;
/* Years since 1900 */
int
tm_wday
;
/* Days since Sunday [0, 6] */
int
tm_wday
;
/* Days since Sunday [0, 6] */
int
tm_yday
;
/* Days since January 1st [0, 365] */
int
tm_isdst
;
/* Daylight saving time is in effect */
};
};
#endif
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment