Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2002 12:35:27 -0800 (PST)
From:      Mike Barcroft <mike@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/games/fortune/fortune fortune.c src/games/fortune/strfile strfile.c src/games/fortune/unstr unstr.c src/include/arpa inet.h src/include/rpc xdr.h src/lib/libc/alpha/net byte_swap_2.S byte_swap_4.S htonl.S htons.S ntohl.S ntohs.S ...
Message-ID:  <200202182035.g1IKZRX56719@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
mike        2002/02/18 12:35:27 PST

  Modified files:
    games/fortune/fortune fortune.c 
    games/fortune/strfile strfile.c 
    games/fortune/unstr  unstr.c 
    include/arpa         inet.h 
    include/rpc          xdr.h 
    lib/libc/alpha/net   byte_swap_2.S byte_swap_4.S htonl.S 
                         htons.S ntohl.S ntohs.S 
    lib/libc/i386/net    htonl.S htons.S ntohl.S ntohs.S 
    lib/libc/ia64/net    byte_swap_2.S byte_swap_4.S htonl.S 
                         htons.S ntohl.S ntohs.S 
    lib/libc/locale      rune.c 
    lib/libc/net         getservent.c ns_addr.c ns_ntoa.c 
    lib/libc/rpc         auth_des.c clnt_dg.c clnt_vc.c 
                         pmap_getmaps.c pmap_getport.c 
    lib/libc/sparc64/net htonl.S htons.S ntohl.S ntohs.S 
    lib/libc/xdr         xdr_stdio.c 
    lib/libc/yp          yplib.c 
    lib/libipx           ipx_addr.c ipx_ntoa.c 
    lib/libncp           ipx.c ncpl_bind.c ncpl_file.c ncpl_misc.c 
                         ncpl_rpc.c sap.c 
    lib/libstand         net.c stand.h 
    libexec/rpc.rwalld   rwalld.c 
    libexec/talkd        print.c 
    sbin/mount_cd9660    mount_cd9660.c 
    sbin/routed          if.c input.c output.c parms.c table.c 
    sbin/routed/rtquery  rtquery.c 
    secure/lib/libcipher crypt.c 
    secure/lib/libcrypt  crypt-des.c 
    sys/alpha/include    endian.h 
    sys/cam/scsi         scsi_cd.c 
    sys/i386/include     endian.h 
    sys/ia64/include     endian.h 
    sys/libkern/alpha    byte_swap_2.S byte_swap_4.S htonl.S 
                         htons.S ntohl.S ntohs.S 
    sys/libkern/ia64     byte_swap_2.S byte_swap_4.S htonl.S 
                         htons.S ntohl.S ntohs.S 
    sys/net              bridge.c 
    sys/netgraph         ng_mppc.c 
    sys/netinet          in.h ip_divert.c ip_fw.c ip_icmp.c 
                         ip_input.c ip_mroute.c ip_output.c 
                         tcp_input.c 
    sys/netinet6         ip6_fw.c nd6_rtr.c 
    sys/powerpc/include  endian.h 
    sys/sparc64/include  endian.h 
    sys/sys              imgact_aout.h mchain.h param.h types.h 
    usr.bin/locate/locate util.c 
    usr.bin/mklocale     yacc.y 
    usr.bin/talk         ctl_transact.c 
    usr.sbin/IPXrouted   defs.h 
    usr.sbin/ancontrol   ancontrol.c 
    usr.sbin/burncd      burncd.c 
    usr.sbin/cdcontrol   cdcontrol.c 
    usr.sbin/ppp         mppe.c 
    usr.sbin/timed/timedc cmds.c 
    usr.sbin/ypbind      yp_ping.c 
  Log:
  o Move NTOHL() and associated macros into <sys/param.h>.  These are
    deprecated in favor of the POSIX-defined lowercase variants.
  o Change all occurrences of NTOHL() and associated marcros in the
    source tree to use the lowercase function variants.
  o Add missing license bits to sparc64's <machine/endian.h>.
    Approved by: jake
  o Clean up <machine/endian.h> files.
  o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
  o Remove prototypes for non-existent bswapXX() functions.
  o Include <machine/endian.h> in <arpa/inet.h> to define the
    POSIX-required ntohl() family of functions.
  o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
    and <sys/param.h>.
  o Prepend underscores to the ntohl() family to help deal with
    complexities associated with having MD (asm and inline) versions, and
    having to prevent exposure of these functions in other headers that
    happen to make use of endian-specific defines.
  o Create weak aliases to the canonical function name to help deal with
    third-party software forgetting to include an appropriate header.
  o Remove some now unneeded pollution from <sys/types.h>.
  o Add missing <arpa/inet.h> includes in userland.
  
  Tested on:      alpha, i386
  Reviewed by:    bde, jake, tmm
  
  Revision  Changes    Path
  1.21      +3 -2      src/games/fortune/fortune/fortune.c
  1.20      +2 -1      src/games/fortune/strfile/strfile.c
  1.7       +2 -1      src/games/fortune/unstr/unstr.c
  1.17      +16 -6     src/include/arpa/inet.h
  1.19      +5 -5      src/include/rpc/xdr.h
  1.2       +5 -2      src/lib/libc/alpha/net/byte_swap_2.S
  1.2       +5 -2      src/lib/libc/alpha/net/byte_swap_4.S
  1.2       +4 -1      src/lib/libc/alpha/net/htonl.S
  1.2       +4 -1      src/lib/libc/alpha/net/htons.S
  1.2       +4 -1      src/lib/libc/alpha/net/ntohl.S
  1.2       +4 -1      src/lib/libc/alpha/net/ntohs.S
  1.8       +3 -1      src/lib/libc/i386/net/htonl.S
  1.8       +3 -1      src/lib/libc/i386/net/htons.S
  1.8       +3 -1      src/lib/libc/i386/net/ntohl.S
  1.8       +3 -1      src/lib/libc/i386/net/ntohs.S
  1.4       +4 -3      src/lib/libc/ia64/net/byte_swap_2.S
  1.4       +4 -3      src/lib/libc/ia64/net/byte_swap_4.S
  1.3       +3 -2      src/lib/libc/ia64/net/htonl.S
  1.3       +3 -2      src/lib/libc/ia64/net/htons.S
  1.3       +3 -2      src/lib/libc/ia64/net/ntohl.S
  1.3       +3 -2      src/lib/libc/ia64/net/ntohs.S
  1.7       +1 -0      src/lib/libc/locale/rune.c
  1.8       +6 -0      src/lib/libc/net/getservent.c
  1.8       +2 -1      src/lib/libc/net/ns_addr.c
  1.3       +6 -0      src/lib/libc/net/ns_ntoa.c
  1.6       +1 -2      src/lib/libc/rpc/auth_des.c
  1.9       +1 -0      src/lib/libc/rpc/clnt_dg.c
  1.9       +2 -1      src/lib/libc/rpc/clnt_vc.c
  1.14      +2 -1      src/lib/libc/rpc/pmap_getmaps.c
  1.13      +2 -1      src/lib/libc/rpc/pmap_getport.c
  1.2       +4 -2      src/lib/libc/sparc64/net/htonl.S
  1.2       +4 -2      src/lib/libc/sparc64/net/htons.S
  1.2       +4 -2      src/lib/libc/sparc64/net/ntohl.S
  1.2       +4 -2      src/lib/libc/sparc64/net/ntohs.S
  1.9       +2 -1      src/lib/libc/xdr/xdr_stdio.c
  1.41      +1 -0      src/lib/libc/yp/yplib.c
  1.6       +1 -0      src/lib/libipx/ipx_addr.c
  1.4       +1 -0      src/lib/libipx/ipx_ntoa.c
  1.5       +2 -1      src/lib/libncp/ipx.c
  1.4       +1 -0      src/lib/libncp/ncpl_bind.c
  1.5       +1 -0      src/lib/libncp/ncpl_file.c
  1.5       +1 -0      src/lib/libncp/ncpl_misc.c
  1.3       +1 -0      src/lib/libncp/ncpl_rpc.c
  1.4       +1 -0      src/lib/libncp/sap.c
  1.4       +1 -1      src/lib/libstand/net.c
  1.28      +13 -0     src/lib/libstand/stand.h
  1.10      +1 -0      src/libexec/rpc.rwalld/rwalld.c
  1.11      +1 -0      src/libexec/talkd/print.c
  1.18      +3 -1      src/sbin/mount_cd9660/mount_cd9660.c
  1.9       +4 -4      src/sbin/routed/if.c
  1.10      +5 -5      src/sbin/routed/input.c
  1.8       +3 -3      src/sbin/routed/output.c
  1.10      +6 -5      src/sbin/routed/parms.c
  1.15      +3 -3      src/sbin/routed/rtquery/rtquery.c
  1.16      +3 -3      src/sbin/routed/table.c
  1.8       +2 -1      src/secure/lib/libcipher/crypt.c
  1.15      +1 -0      src/secure/lib/libcrypt/crypt-des.c
  1.6       +10 -45    src/sys/alpha/include/endian.h
  1.57      +1 -1      src/sys/cam/scsi/scsi_cd.c
  1.29      +21 -41    src/sys/i386/include/endian.h
  1.5       +32 -56    src/sys/ia64/include/endian.h
  1.3       +3 -2      src/sys/libkern/alpha/byte_swap_2.S
  1.3       +3 -2      src/sys/libkern/alpha/byte_swap_4.S
  1.3       +2 -1      src/sys/libkern/alpha/htonl.S
  1.3       +2 -1      src/sys/libkern/alpha/htons.S
  1.3       +2 -1      src/sys/libkern/alpha/ntohl.S
  1.3       +2 -1      src/sys/libkern/alpha/ntohs.S
  1.3       +4 -3      src/sys/libkern/ia64/byte_swap_2.S
  1.3       +4 -3      src/sys/libkern/ia64/byte_swap_4.S
  1.2       +2 -1      src/sys/libkern/ia64/htonl.S
  1.2       +2 -1      src/sys/libkern/ia64/htons.S
  1.2       +2 -1      src/sys/libkern/ia64/ntohl.S
  1.2       +2 -1      src/sys/libkern/ia64/ntohs.S
  1.46      +5 -5      src/sys/net/bridge.c
  1.17      +1 -1      src/sys/netgraph/ng_mppc.c
  1.59      +17 -0     src/sys/netinet/in.h
  1.55      +2 -2      src/sys/netinet/ip_divert.c
  1.181     +2 -2      src/sys/netinet/ip_fw.c
  1.67      +3 -3      src/sys/netinet/ip_icmp.c
  1.191     +8 -8      src/sys/netinet/ip_input.c
  1.70      +2 -2      src/sys/netinet/ip_mroute.c
  1.151     +14 -14    src/sys/netinet/ip_output.c
  1.147     +11 -11    src/sys/netinet/tcp_input.c
  1.17      +2 -2      src/sys/netinet6/ip6_fw.c
  1.10      +2 -2      src/sys/netinet6/nd6_rtr.c
  1.5       +18 -37    src/sys/powerpc/include/endian.h
  1.5       +16 -38    src/sys/sparc64/include/endian.h
  1.15      +6 -6      src/sys/sys/imgact_aout.h
  1.2       +8 -8      src/sys/sys/mchain.h
  1.113     +24 -0     src/sys/sys/param.h
  1.53      +1 -18     src/sys/sys/types.h
  1.8       +1 -0      src/usr.bin/locate/locate/util.c
  1.8       +3 -1      src/usr.bin/mklocale/yacc.y
  1.7       +2 -0      src/usr.bin/talk/ctl_transact.c
  1.9       +1 -0      src/usr.sbin/IPXrouted/defs.h
  1.17      +2 -1      src/usr.sbin/ancontrol/ancontrol.c
  1.22      +1 -0      src/usr.sbin/burncd/burncd.c
  1.37      +1 -0      src/usr.sbin/cdcontrol/cdcontrol.c
  1.13      +3 -1      src/usr.sbin/ppp/mppe.c
  1.10      +2 -0      src/usr.sbin/timed/timedc/cmds.c
  1.13      +1 -0      src/usr.sbin/ypbind/yp_ping.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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