aboutsummaryrefslogtreecommitdiffstats
path: root/po/is.pom
Commit message (Expand)AuthorAgeFilesLines
* warning message when it seems the user will install too muchGuillaume Cottenceau2002-09-021-4/+7
* pom files (containing the compssUsers translation automatically extractedGuillaume Cottenceau2002-08-271-0/+314
rm class='right' method='get' action='/software/drakx/log/mdk-stage1/dietlibc/lib/htonl.c'>
path: root/mdk-stage1/dietlibc/lib/htonl.c
blob: 04a1e426521572194e7cf0e60e54d147ce51fa55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <endian.h>
#include <netinet/in.h>

unsigned long int htonl(unsigned long int hostlong) {
#if __BYTE_ORDER==__LITTLE_ENDIAN
  return (hostlong>>24) | ((hostlong&0xff0000)>>8) |
	  ((hostlong&0xff00)<<8) | (hostlong<<24);
#else
  return hostlong;
#endif
}

unsigned long int ntohl(unsigned long int hostlong) __attribute__((weak,alias("htonl")));