diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-10 23:58:21 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-10 23:58:21 +0400 |
commit | b01cbd5de293ab190b64951790887c6705a8188e (patch) | |
tree | d758940163a844c045f5eb417cb0f9ce6c159882 /winsup/cygwin/include | |
parent | fe4283af7ad3e47321d9a7b725c343629dc7d90f (diff) |
* 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 f49a94379..ead90b515 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 955d77a1e..b43ab886f 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)))*/; |