+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>
* dcrt0.cc (dll_crt0_1): Initialize wincap and check for sanity before
/* 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 */
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)))*/;
tmp_addr[1] = b;
tmp_addr[2] = c;
tmp_addr[3] = d;
- tmp_addr_list[0] = (char *)tmp_addr;
+ tmp_addr_list[0] = (char *) tmp_addr;
tmp.h_name = name;
tmp.h_aliases = tmp_aliases;
tmp.h_addrtype = 2;