Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2006 14:42:47 +0000 (UTC)
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/arm/net htonl.S htons.S ntohl.S ntohs.S
Message-ID:  <200608211442.k7LEgmgh099113@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608211442.k7LEgmgh099113>