just use standard C types with bswap*
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9988 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -365,19 +365,11 @@ void pidfile (const char*); | |||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #ifndef HAVE_BSWAP32 | #ifndef HAVE_BSWAP32 | ||||||
| #ifndef HAVE_U_INT32_T |  | ||||||
| unsigned int bswap32(unsigned int); | unsigned int bswap32(unsigned int); | ||||||
| #else |  | ||||||
| u_int32_t bswap32(u_int32_t); |  | ||||||
| #endif |  | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #ifndef HAVE_BSWAP16 | #ifndef HAVE_BSWAP16 | ||||||
| #ifndef HAVE_U_INT16_T | unsiged short bswap16(unsigned short); | ||||||
| unsigned short bswap16(unsigned short); |  | ||||||
| #else |  | ||||||
| u_int16_t bswap16(u_int16_t); |  | ||||||
| #endif |  | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #ifndef HAVE_FLOCK | #ifndef HAVE_FLOCK | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Johan Danielsson
					Johan Danielsson