* include/sys/strace.h (strace): Avoid use of constructor.
This commit is contained in:
parent
fe4283af7a
commit
b01cbd5de2
|
@ -1,3 +1,7 @@
|
||||||
|
2002-06-10 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* include/sys/strace.h (strace): Avoid use of constructor.
|
||||||
|
|
||||||
2002-06-10 Christopher Faylor <cgf@redhat.com>
|
2002-06-10 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* dcrt0.cc (dll_crt0_1): Initialize wincap and check for sanity before
|
* dcrt0.cc (dll_crt0_1): Initialize wincap and check for sanity before
|
||||||
|
|
|
@ -71,7 +71,7 @@ extern "C" {
|
||||||
|
|
||||||
/* Different from the linux versions - note the shorts.. */
|
/* Different from the linux versions - note the shorts.. */
|
||||||
struct hostent {
|
struct hostent {
|
||||||
const char *h_name; /* official name of host */
|
char *h_name; /* official name of host */
|
||||||
char **h_aliases; /* alias list */
|
char **h_aliases; /* alias list */
|
||||||
short h_addrtype; /* host address type */
|
short h_addrtype; /* host address type */
|
||||||
short h_length; /* length of address */
|
short h_length; /* length of address */
|
||||||
|
|
|
@ -44,7 +44,6 @@ public:
|
||||||
int lmicrosec;
|
int lmicrosec;
|
||||||
int execing;
|
int execing;
|
||||||
int inited;
|
int inited;
|
||||||
strace() : version(1) {}
|
|
||||||
void hello ();
|
void hello ();
|
||||||
void prntf (unsigned, const char *func, const char *, ...) /*__attribute__ ((regparm(3)))*/;
|
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)))*/;
|
void vprntf (unsigned, const char *func, const char *, va_list ap) /*__attribute__ ((regparm(3)))*/;
|
||||||
|
|
|
@ -1123,7 +1123,7 @@ cygwin_gethostbyname (const char *name)
|
||||||
tmp_addr[1] = b;
|
tmp_addr[1] = b;
|
||||||
tmp_addr[2] = c;
|
tmp_addr[2] = c;
|
||||||
tmp_addr[3] = d;
|
tmp_addr[3] = d;
|
||||||
tmp_addr_list[0] = (char *)tmp_addr;
|
tmp_addr_list[0] = (char *) tmp_addr;
|
||||||
tmp.h_name = name;
|
tmp.h_name = name;
|
||||||
tmp.h_aliases = tmp_aliases;
|
tmp.h_aliases = tmp_aliases;
|
||||||
tmp.h_addrtype = 2;
|
tmp.h_addrtype = 2;
|
||||||
|
|
Loading…
Reference in New Issue