]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: fix declaration of __small_{v}sprintf
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 25 May 2020 11:10:41 +0000 (13:10 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 25 May 2020 11:32:49 +0000 (13:32 +0200)
commit5489240c1bc56c9c4075766addf41af5df276cf0
tree3f3baf386012aedd296e66bb6b684866ac3e7fcc
parent8d7a5b39d2fa3fe009dfae3fe90d6d2e9962f98e
Cygwin: fix declaration of __small_{v}sprintf

Both functions are declared as extern "C" functions in
sys/smallprint.h, but as C++ funcs in winsup.h and in the
source itself.

Add extern "C to definitions, remove declarations in winsup.h
and include sys/smallprint.h instead.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/smallprint.cc
winsup/cygwin/winsup.h
This page took 0.032853 seconds and 5 git commands to generate.