/* $OpenBSD: htonl.S,v 1.1 2004/01/28 01:44:45 mickey Exp $ */ /* Written by Artur Grabowski. Public Domain */ #include ENTRY(_C_LABEL(htonl)) movl %edi,%eax bswapl %eax ret