From owner-cvs-all@FreeBSD.ORG Mon Nov 6 22:08:15 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A270216A4C8; Mon, 6 Nov 2006 22:08:15 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DEB543DB5; Mon, 6 Nov 2006 22:07:48 +0000 (GMT) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kA6M7l5h023546; Mon, 6 Nov 2006 22:07:47 GMT (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kA6M7lqf023545; Mon, 6 Nov 2006 22:07:47 GMT (envelope-from cognet) Message-Id: <200611062207.kA6M7lqf023545@repoman.freebsd.org> From: Olivier Houchard Date: Mon, 6 Nov 2006 22:07:47 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libstand Makefile src/lib/libc/amd64/net Makefile.inc htonl.S htons.S ntohl.S ntohs.S src/lib/libc/arm/net htonl.S htons.S ntohl.S ntohs.S src/lib/libc/i386/net Makefile.inc htonl.S htons.S ntohl.S ntohs.S src/lib/libc/ia64/net Makefile.inc ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 22:08:15 -0000 cognet 2006-11-06 22:07:47 UTC FreeBSD src repository Modified files: lib/libstand Makefile lib/libc/net Makefile.inc Added files: lib/libc/net ntoh.c Removed files: lib/libc/amd64/net Makefile.inc htonl.S htons.S ntohl.S ntohs.S lib/libc/arm/net htonl.S htons.S ntohl.S ntohs.S lib/libc/i386/net Makefile.inc htonl.S htons.S ntohl.S ntohs.S lib/libc/ia64/net Makefile.inc byte_swap_2.S byte_swap_4.S htonl.S htons.S ntohl.S ntohs.S lib/libc/powerpc/net Makefile.inc htonl.S htons.S ntohl.S ntohs.S lib/libc/sparc64/net Makefile.inc htonl.S htons.S ntohl.S ntohs.S Log: Instead of re-implementing hton[ls] and friends for each arch, add a new MI file, net/ntoh.c, which just implement them using the inline functions from . Suggested by: bde Revision Changes Path 1.7 +0 -4 src/lib/libc/amd64/net/Makefile.inc (dead) 1.11 +0 -50 src/lib/libc/amd64/net/htonl.S (dead) 1.11 +0 -50 src/lib/libc/amd64/net/htons.S (dead) 1.11 +0 -50 src/lib/libc/amd64/net/ntohl.S (dead) 1.11 +0 -52 src/lib/libc/amd64/net/ntohs.S (dead) 1.3 +0 -50 src/lib/libc/arm/net/htonl.S (dead) 1.3 +0 -49 src/lib/libc/arm/net/htons.S (dead) 1.3 +0 -50 src/lib/libc/arm/net/ntohl.S (dead) 1.3 +0 -49 src/lib/libc/arm/net/ntohs.S (dead) 1.7 +0 -4 src/lib/libc/i386/net/Makefile.inc (dead) 1.12 +0 -50 src/lib/libc/i386/net/htonl.S (dead) 1.10 +0 -50 src/lib/libc/i386/net/htons.S (dead) 1.12 +0 -50 src/lib/libc/i386/net/ntohl.S (dead) 1.10 +0 -52 src/lib/libc/i386/net/ntohs.S (dead) 1.2 +0 -3 src/lib/libc/ia64/net/Makefile.inc (dead) 1.6 +0 -48 src/lib/libc/ia64/net/byte_swap_2.S (dead) 1.6 +0 -48 src/lib/libc/ia64/net/byte_swap_4.S (dead) 1.5 +0 -36 src/lib/libc/ia64/net/htonl.S (dead) 1.5 +0 -36 src/lib/libc/ia64/net/htons.S (dead) 1.5 +0 -36 src/lib/libc/ia64/net/ntohl.S (dead) 1.5 +0 -36 src/lib/libc/ia64/net/ntohs.S (dead) 1.62 +3 -8 src/lib/libc/net/Makefile.inc 1.1 +58 -0 src/lib/libc/net/ntoh.c (new) 1.2 +0 -4 src/lib/libc/powerpc/net/Makefile.inc (dead) 1.2 +0 -38 src/lib/libc/powerpc/net/htonl.S (dead) 1.2 +0 -38 src/lib/libc/powerpc/net/htons.S (dead) 1.2 +0 -38 src/lib/libc/powerpc/net/ntohl.S (dead) 1.2 +0 -40 src/lib/libc/powerpc/net/ntohs.S (dead) 1.3 +0 -3 src/lib/libc/sparc64/net/Makefile.inc (dead) 1.5 +0 -56 src/lib/libc/sparc64/net/htonl.S (dead) 1.4 +0 -58 src/lib/libc/sparc64/net/htons.S (dead) 1.5 +0 -56 src/lib/libc/sparc64/net/ntohl.S (dead) 1.4 +0 -58 src/lib/libc/sparc64/net/ntohs.S (dead) 1.57 +3 -7 src/lib/libstand/Makefile