diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2021-11-28 11:28:07 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2021-11-28 11:28:07 -0800 |
commit | 8078de47f573fe60ee171647d23b9a097e818cc9 (patch) | |
tree | b95d7cadc193d8933e2250fa0acc015c896f9b6f /Clock.c | |
parent | 866881cde2f973b50dc2a9279f2a85611ec23974 (diff) |
Fix spelling/wording issues
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Clock.c')
-rw-r--r-- | Clock.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1366,7 +1366,7 @@ round_time(float _update, struct tm *tm, struct timeval *tv) * * ord(e)=n/gcd(n,e)=n/e * - * from wich follows + * from which follows * * e=d ==> f: I={0,..,m-1} -> J={0,..,m-1}: j=i*r mod m is bijective * ==> D={k*d mod n : k in Z} = U. @@ -1384,7 +1384,7 @@ round_time(float _update, struct tm *tm, struct timeval *tv) * * which implements state tracking. This approach doesn't work well * since the set timeout w does not guarantee a next call at time - * t(i+1), e.g. due to progam sleeps, time adjustments, and leap + * t(i+1), e.g. due to program sleeps, time adjustments, and leap * seconds. A robust method should only rely on the current time * tc(i) to identify t(i). The derivation above shows 2 options: * @@ -1575,7 +1575,7 @@ clock_tic(XtPointer client_data, XtIntervalId * id) * The second (or minute) hand is sec (or min) * sixtieths around the clock face. The hour hand is * (hour + min/60) twelfths of the way around the - * clock-face. The derivation is left as an excercise + * clock-face. The derivation is left as an exercise * for the reader. */ |