diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-02-20 22:39:56 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-02-20 22:39:56 +0000 |
commit | 630b4bdd3d2ca967f0e1d4f438f7f1761461dd31 (patch) | |
tree | f640e5eab1ce66cdeadd0ab3684ea326f56db8a5 /nuttx/sched/gmtime_r.c | |
parent | bd7dce092d36128a0f84e5544ccc857a45f6ba2f (diff) | |
download | px4-nuttx-630b4bdd3d2ca967f0e1d4f438f7f1761461dd31.tar.gz px4-nuttx-630b4bdd3d2ca967f0e1d4f438f7f1761461dd31.tar.bz2 px4-nuttx-630b4bdd3d2ca967f0e1d4f438f7f1761461dd31.zip |
Eliminating GCC dependencies
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@14 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/gmtime_r.c')
-rw-r--r-- | nuttx/sched/gmtime_r.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/sched/gmtime_r.c b/nuttx/sched/gmtime_r.c index 8661d73b7..bf9923bb3 100644 --- a/nuttx/sched/gmtime_r.c +++ b/nuttx/sched/gmtime_r.c @@ -177,7 +177,7 @@ struct tm *gmtime_r(const time_t *clock, struct tm *result) /* Get the seconds since the EPOCH */ time = *clock; - dbg("%s: clock=%d\n", __FUNCTION__, (int)time); + dbg("clock=%d\n", (int)time); /* Convert to days, hours, minutes, and seconds since the EPOCH */ @@ -192,14 +192,14 @@ struct tm *gmtime_r(const time_t *clock, struct tm *result) sec = time; - dbg("%s: hour=%d min=%d sec=%d\n", __FUNCTION__, + dbg("hour=%d min=%d sec=%d\n", (int)hour, (int)min, (int)sec); /* Convert the days since the EPOCH to calendar day */ clock_utc2calendar(jdn, &year, &month, &day); - dbg("%s: jdn=%d year=%d month=%d day=%d\n", __FUNCTION__, + dbg("jdn=%d year=%d month=%d day=%d\n", (int)jdn, (int)year, (int)month, (int)day); /* Then return the struct tm contents */ |