Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2004 15:24:40 +0000 (UTC)
From:      Tom Rhodes <trhodes@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/include string.h unistd.h src/lib/libc/string swab.3 swab.c
Message-ID:  <200412101524.iBAFOeIB061494@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
trhodes     2004-12-10 15:24:40 UTC

  FreeBSD src repository

  Modified files:
    include              string.h unistd.h 
    lib/libc/string      swab.3 swab.c 
  Log:
  According to the information on:
  http://www.opengroup.org/onlinepubs/009695399/functions/swab.html
  the prototype for swab() should be in <unistd.h> and not in <string.h>.
  Move it, and update to match SUS.  Leave the prototype in string.h for
  now, for backwards compat.
  
  PR:             74751
  Submitted by:   Craig Rodrigues <rodrigc@crodrigues.org>
  Discussed with: das
  
  Revision  Changes    Path
  1.21      +13 -2     src/include/string.h
  1.75      +6 -1      src/include/unistd.h
  1.8       +2 -2      src/lib/libc/string/swab.3
  1.6       +2 -2      src/lib/libc/string/swab.c



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