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

Tom Rhodes trhodes at FreeBSD.org
Mon Jun 27 01:54:40 GMT 2005


trhodes     2005-06-27 01:54:40 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    include              string.h unistd.h 
    lib/libc/string      swab.3 swab.c 
  Log:
  MFC:
  
  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.20.2.1  +13 -2     src/include/string.h
  1.73.2.1  +6 -1      src/include/unistd.h
  1.7.8.1   +3 -3      src/lib/libc/string/swab.3
  1.5.8.1   +2 -2      src/lib/libc/string/swab.c


More information about the cvs-src mailing list