aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/net.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2000-04-25 08:50:22 +0000
committerCorinna Vinschen <corinna@vinschen.de>2000-04-25 08:50:22 +0000
commite77d29a9732d5f52c96127c5a0be0e12c868d368 (patch)
tree3d4d2adc2e9dfa7a35a33b08c6503d6cb2e568c5 /winsup/cygwin/net.cc
parent698c62742420a7c1cfd61cd92f3ade4569d652e8 (diff)
downloadnewlib-e77d29a9732d5f52c96127c5a0be0e12c868d368.zip
newlib-e77d29a9732d5f52c96127c5a0be0e12c868d368.tar.gz
newlib-e77d29a9732d5f52c96127c5a0be0e12c868d368.tar.bz2
* net.cc: Avoid a warning in declaration inet_network.
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r--winsup/cygwin/net.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index fe2eb31..bfe4b65 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -128,7 +128,7 @@ cygwin_inet_addr (const char *cp)
}
/* undocumented in wsock32.dll */
-extern "C" unsigned int inet_network (const char *);
+extern "C" unsigned int WINAPI inet_network (const char *);
extern "C"
unsigned int