]> www.ginac.de Git - cln.git/commit
[build] Don't try to find out the exact prototype of gettimeofday().
authorAlexey Sheplyakov <asheplyakov@yandex.ru>
Tue, 30 Aug 2011 20:28:37 +0000 (23:28 +0300)
committerAlexey Sheplyakov <asheplyakov@altlinux.org>
Sun, 20 Dec 2020 13:45:58 +0000 (17:45 +0400)
commit9bd135fc674d979989d0c9cb467cec5d8725a4de
treeb5ad371a2522bb34127ba341cbbb936b6102313b
parent06dcbe891f76b7cda73305b880e71758ef274718
[build] Don't try to find out the exact prototype of gettimeofday().

First of all, according to POSIX gettimeofday() has the following protype:

int gettimeofday(struct timeval *restrict tp, void restrict* tzp);

so GETTIMEOFDAY_DOTS is not really necessary.

Secondly, we always pass NULL as the second argument, so its type does not
really matter.
src/base/cl_base_config.h.in
src/base/random/cl_random_from.cc
src/timing/cl_t_config.h.in
src/timing/cl_t_current.cc