summaryrefslogtreecommitdiff
path: root/nuttx/sched/mktime.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/mktime.c')
-rw-r--r--nuttx/sched/mktime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/mktime.c b/nuttx/sched/mktime.c
index a0ed379f1..1c58edc37 100644
--- a/nuttx/sched/mktime.c
+++ b/nuttx/sched/mktime.c
@@ -81,7 +81,7 @@
*
************************************************************/
-static inline time_t clock_gregorian2utc(int year, int month, int day)
+static time_t clock_gregorian2utc(int year, int month, int day)
{
int temp;
@@ -95,7 +95,7 @@ static inline time_t clock_gregorian2utc(int year, int month, int day)
}
#ifdef CONFIG_JULIAN_TIME
-static inline time_t clock_julian2utc(int year, int month, int day)
+static time_t clock_julian2utc(int year, int month, int day)
{
return 367*year
- (7*(year + 5001 + (month-9)/7))/4