* include/sys/strace.h (strace): Avoid use of constructor.

This commit is contained in:
Christopher Faylor 2002-06-10 19:58:21 +00:00
parent fe4283af7a
commit b01cbd5de2
4 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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 */

View File

@ -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)))*/;