/* $OpenBSD: ntohs.S,v 1.2 2004/02/10 00:08:11 drahn Exp $ */ /* Written by Artur Grabowski. Public Domain */ #include ENTRY(_C_LABEL(ntohs)) movl %edi,%eax xchgb %ah,%al ret