cvs commit: src/lib/libc/arm/net htonl.S htons.S ntohl.S ntohs.S

Olivier Houchard cognet at FreeBSD.org
Mon Aug 21 14:46:23 UTC 2006


cognet      2006-08-21 14:42:47 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/arm/net     htonl.S htons.S ntohl.S ntohs.S 
  Log:
  If __ARMEB__ is defined, we're already using the network byte order, so
  there's no need to to anything in the hton* functions, beside returning
  the parameter.
  
  Spotted out by: Oleksandr Tymoshenko <gonzo at freebsd.org>
  
  Revision  Changes    Path
  1.2       +2 -0      src/lib/libc/arm/net/htonl.S
  1.2       +2 -0      src/lib/libc/arm/net/htons.S
  1.2       +2 -0      src/lib/libc/arm/net/ntohl.S
  1.2       +2 -0      src/lib/libc/arm/net/ntohs.S


More information about the cvs-src mailing list