* include/sys/strace.h (strace): Avoid use of constructor.
This commit is contained in:
		| @@ -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> | ||||
|  | ||||
| 	* 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.. */ | ||||
| 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 */ | ||||
|   | ||||
| @@ -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)))*/; | ||||
|   | ||||
| @@ -1123,7 +1123,7 @@ cygwin_gethostbyname (const char *name) | ||||
|       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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user