]> www.ginac.de Git - cln.git/commit
[compile fix] Remove incorrect forward-declaration of perror().
authorAlexey Sheplyakov <asheplyakov@yandex.ru>
Sun, 26 Feb 2012 19:55:08 +0000 (21:55 +0200)
committerAlexey Sheplyakov <asheplyakov@altlinux.org>
Sun, 20 Dec 2020 13:45:58 +0000 (17:45 +0400)
commit721eb0d4a24c50f765d01a33ec6d5619359c0f35
tree2e5a664961967de44b3ead005e3a56fdba86ccf2
parent9bd135fc674d979989d0c9cb467cec5d8725a4de
[compile fix] Remove incorrect forward-declaration of perror().

First of all, the return type is void, not int (according to C89).
Secondly, perror is required by C89, so there's no need to check for it.

Fixes (cross-) compilation with MinGW.
src/timing/cl_t_current.cc
src/timing/cl_t_current2.cc