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:
Johan Danielsson
2001-05-18 15:32:58 +00:00
parent c3069bdab9
commit bad7d1baa4

View File

@@ -365,19 +365,11 @@ void pidfile (const char*);
#endif
#ifndef HAVE_BSWAP32
#ifndef HAVE_U_INT32_T
unsigned int bswap32(unsigned int);
#else
u_int32_t bswap32(u_int32_t);
#endif
#endif
#ifndef HAVE_BSWAP16
#ifndef HAVE_U_INT16_T
unsigned short bswap16(unsigned short);
#else
u_int16_t bswap16(u_int16_t);
#endif
unsiged short bswap16(unsigned short);
#endif
#ifndef HAVE_FLOCK