cvs commit: src/include string.h unistd.h src/lib/libc/string swab.3 swab.c

Tom Rhodes trhodes at FreeBSD.org
Fri Dec 10 07:24:40 PST 2004


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 at 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


More information about the cvs-all mailing list