aboutsummaryrefslogtreecommitdiff
path: root/project/dclib/dclib-numeric.c
diff options
context:
space:
mode:
authorWiimm <wiimm@wiimm.de>2023-05-28 05:52:52 +0200
committerWiimm <wiimm@wiimm.de>2023-05-28 05:52:52 +0200
commit74ac39c1af5c8e85bf10711aed2ffc9dfee2e277 (patch)
treee6cd603f01c3d360c701d6ad5418fe7e133d2c26 /project/dclib/dclib-numeric.c
parentf978a965248a5a082d6801ef394bdebb55c78e4f (diff)
SZS v2.34a
Diffstat (limited to '')
-rw-r--r--project/dclib/dclib-numeric.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/project/dclib/dclib-numeric.c b/project/dclib/dclib-numeric.c
index 51a8bce..6896b53 100644
--- a/project/dclib/dclib-numeric.c
+++ b/project/dclib/dclib-numeric.c
@@ -3281,7 +3281,7 @@ ccp PrintNTimeByFormatUTC
ccp format, // format string for strftime()
// 1-9 '@' in row replaced by digits of 'usec'
- u_nsec_t ntime
+ u_nsec_t ntime // time in nsec, e.g. get by GetTimeNSec(false)
)
{
return PrintNSecByFormatUTC(format,ntime/NSEC_PER_SEC,ntime%NSEC_PER_SEC);
@@ -3295,7 +3295,7 @@ ccp PrintUTimeByFormat
ccp format, // format string for strftime()
// 1-9 '@' in row replaced by digits of 'usec'
- u_usec_t utime
+ u_usec_t utime // time in nsec, e.g. get by GetTimeNSec(false)
)
{
return PrintNSecByFormat(format,utime/USEC_PER_SEC,utime%USEC_PER_SEC*NSEC_PER_USEC);
@@ -3936,7 +3936,7 @@ ccp PrintTimer6N
}
}
- return buf == temp ? CopyCircBuf0(buf,strlen(buf)) : buf;
+ return CopyCircBuf0If(buf==temp,buf,strlen(buf));
}
///////////////////////////////////////////////////////////////////////////////