aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/net.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-02-23 04:07:13 +0000
committerChristopher Faylor <me@cgf.cx>2000-02-23 04:07:13 +0000
commit01cf5d0f5d80baf98fcbd1e4ee0a7dc1c4f531b8 (patch)
treee8ad6225e248c2869b6870f95dd07a2a9b7cfcb3 /winsup/cygwin/net.cc
parent237e6cfa8284cd2718fecca62aac0e3034b120eb (diff)
downloadnewlib-01cf5d0f5d80baf98fcbd1e4ee0a7dc1c4f531b8.zip
newlib-01cf5d0f5d80baf98fcbd1e4ee0a7dc1c4f531b8.tar.gz
newlib-01cf5d0f5d80baf98fcbd1e4ee0a7dc1c4f531b8.tar.bz2
Respond to more g++ warnings relating to initializing structures.
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r--winsup/cygwin/net.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index 41cbb7e..a42b3d3 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -225,7 +225,7 @@ static struct tl errmap[] =
{WSAEREMOTE, "WSAEREMOTE", EREMOTE},
{WSAEINVAL, "WSAEINVAL", EINVAL},
{WSAEFAULT, "WSAEFAULT", EFAULT},
- {0}
+ {0, NULL, 0}
};
/* Cygwin internal */
@@ -256,7 +256,7 @@ static struct tl host_errmap[] =
{WSATRY_AGAIN, "WSATRY_AGAIN", TRY_AGAIN},
{WSANO_RECOVERY, "WSANO_RECOVERY", NO_RECOVERY},
{WSANO_DATA, "WSANO_DATA", NO_DATA},
- {0}
+ {0, NULL, 0}
};
/* Cygwin internal */