[riot-commits] [RIOT-OS/RIOT] 8c4a87: timex: make functions static inline

Oleg Hahm oleg at hobbykeller.org
Tue Oct 28 18:00:52 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 8c4a874161d370282b39fd4f62b81ae8b4df63f2
      https://github.com/RIOT-OS/RIOT/commit/8c4a874161d370282b39fd4f62b81ae8b4df63f2
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-10-28 (Tue, 28 Oct 2014)

  Changed paths:
    M sys/include/timex.h
    M sys/timex/timex.c

  Log Message:
  -----------
  timex: make functions static inline

This commit makes all one- or two-liners in timex a static inline
function, defined in the header file.


  Commit: 67f82fcee006ab0613773d9b7f251af15022cbed
      https://github.com/RIOT-OS/RIOT/commit/67f82fcee006ab0613773d9b7f251af15022cbed
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-10-28 (Tue, 28 Oct 2014)

  Changed paths:
    M sys/include/timex.h

  Log Message:
  -----------
  timex: replace print by a to_str function

Instead of printing the timestamp, it's more flexible to convert it into
a string.


  Commit: 4b3fa4925ac9d66ca62318c718cddaaf50bc7828
      https://github.com/RIOT-OS/RIOT/commit/4b3fa4925ac9d66ca62318c718cddaaf50bc7828
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-10-28 (Tue, 28 Oct 2014)

  Changed paths:
    M sys/include/timex.h
    M sys/timex/timex.c

  Log Message:
  -----------
  timex: update copyrights


  Commit: 20dc7b0b00e7b0f696f2c08e395894723dbeae5a
      https://github.com/RIOT-OS/RIOT/commit/20dc7b0b00e7b0f696f2c08e395894723dbeae5a
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-10-28 (Tue, 28 Oct 2014)

  Changed paths:
    M sys/include/timex.h

  Log Message:
  -----------
  timex: remove redundant struct timex_t declaration

timex_t is available as a typedef, declaring it as `struct timex_t` in
addition is not necessary.


  Commit: af13f190e6503baf8265d11b47a94e21849a2a24
      https://github.com/RIOT-OS/RIOT/commit/af13f190e6503baf8265d11b47a94e21849a2a24
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-10-28 (Tue, 28 Oct 2014)

  Changed paths:
    M sys/include/timex.h
    M sys/include/tm.h

  Log Message:
  -----------
  doc: compliment and fix timex documentation


  Commit: cf8cf3bb68c57fd6f789907f1afc3a4b0278478e
      https://github.com/RIOT-OS/RIOT/commit/cf8cf3bb68c57fd6f789907f1afc3a4b0278478e
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-10-28 (Tue, 28 Oct 2014)

  Changed paths:
    M sys/include/timex.h
    M sys/include/tm.h
    M sys/timex/timex.c

  Log Message:
  -----------
  Merge pull request #1843 from OlegHahm/timex_cleanup

sys: timex cleanup


Compare: https://github.com/RIOT-OS/RIOT/compare/d78c101b0873...cf8cf3bb68c5


More information about the commits mailing list