diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-10 19:58:21 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-10 19:58:21 +0000 |
commit | b01cbd5de293ab190b64951790887c6705a8188e (patch) | |
tree | d758940163a844c045f5eb417cb0f9ce6c159882 /winsup/cygwin/include | |
parent | fe4283af7ad3e47321d9a7b725c343629dc7d90f (diff) | |
download | newlib-b01cbd5de293ab190b64951790887c6705a8188e.zip newlib-b01cbd5de293ab190b64951790887c6705a8188e.tar.gz newlib-b01cbd5de293ab190b64951790887c6705a8188e.tar.bz2 |
* include/sys/strace.h (strace): Avoid use of constructor.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/netdb.h | 2 | ||||
-rw-r--r-- | winsup/cygwin/include/sys/strace.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/include/netdb.h b/winsup/cygwin/include/netdb.h index f49a943..ead90b5 100644 --- a/winsup/cygwin/include/netdb.h +++ b/winsup/cygwin/include/netdb.h @@ -71,7 +71,7 @@ extern "C" { /* Different from the linux versions - note the shorts.. */ struct hostent { - const char *h_name; /* official name of host */ + char *h_name; /* official name of host */ char **h_aliases; /* alias list */ short h_addrtype; /* host address type */ short h_length; /* length of address */ diff --git a/winsup/cygwin/include/sys/strace.h b/winsup/cygwin/include/sys/strace.h index 955d77a..b43ab88 100644 --- a/winsup/cygwin/include/sys/strace.h +++ b/winsup/cygwin/include/sys/strace.h @@ -44,7 +44,6 @@ public: int lmicrosec; int execing; int inited; - strace() : version(1) {} void hello (); void prntf (unsigned, const char *func, const char *, ...) /*__attribute__ ((regparm(3)))*/; void vprntf (unsigned, const char *func, const char *, va_list ap) /*__attribute__ ((regparm(3)))*/; |