aboutsummaryrefslogtreecommitdiffstats
path: root/src/timer_gettimeofday.c
AgeCommit message (Collapse)AuthorFilesLines
2018-03-01timer: Document osmo_gettimeofday APIPau Espin Pedrol1-1/+17
Change-Id: I1f9e13645033c61ffaed97e457deb5e78a6bec58
2018-03-01timer: Introduce osmo_clock_gettime to override clock_gettimePau Espin Pedrol1-1/+1
Change-Id: I5bebc6e01fc9d238065bc2517058f0ba85620349
2017-11-13Fix/Update copyright notices; Add SPDX annotationHarald Welte1-2/+3
Let's fix some erroneous/accidential references to wrong license, update copyright information where applicable and introduce a SPDX-License-Identifier to all files. Change-Id: I39af26c6aaaf5c926966391f6565fc5936be21af
2017-10-23Expand osmo_gettimeofday() docsMax1-1/+7
Change-Id: I9bc835aea56f5f2fb652bb5ab3405e354ba3b95c Related: OS#2586
2017-06-23doxygen: unify use of \file across the boardNeels Hofmeyr1-4/+1
Considering the various styles and implications found in the sources, edit scores of files to follow the same API doc guidelines around the doxygen grouping and the \file tag. Many files now show a short description in the generated API doc that was so far only available as C comment. The guidelines and reasoning behind it is documented at https://osmocom.org/projects/cellular-infrastructure/wiki/Guidelines_for_API_documentation In some instances, remove file comments and add to the corresponding group instead, to be shared among several files (e.g. bitvec). Change-Id: Ifa70e77e90462b5eb2b0457c70fd25275910c72b
2017-06-23doxygen: enable AUTOBRIEF, drop \briefNeels Hofmeyr1-2/+2
Especially for short descriptions, it is annoying to have to type \brief for every single API doc. Drop all \brief and enable the AUTOBRIEF feature of doxygen, which always takes the first sentence of an API doc as the brief description. Change-Id: I11a8a821b065a128108641a2a63fb5a2b1916e87
2017-06-22timer_gettimeofday.c: Fix implicit use of timeraddPau Espin Pedrol1-0/+1
timer_gettimeofday.c: In function 'osmo_gettimeofday_override_add': timer_gettimeofday.c:54:2: error: implicit declaration of function 'timeradd' [-Werror=implicit-function-declaration] timeradd(&osmo_gettimeofday_override_time, &val, ^ Change-Id: Iced451be255cfde8a6cf38380bef71ef29673994
2016-09-22add osmo_gettimeofday as a shim around gettimeofdayNeels Hofmeyr1-0/+58
This allows feeding a custom time for unit tests by overriding osmo_gettimeofday. Change-Id: Ic7a81a6eb51f27fe452962b91f2eae2070d87089