Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2003 15:11:37 -0800 (PST)
From:      "Andrey A. Chernov" <ache@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys stat.h
Message-ID:  <200303072311.h27NBb0t095155@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ache        2003/03/07 15:11:37 PST

  FreeBSD src repository

  Modified files:
    sys/sys              stat.h 
  Log:
  Replace u_int with "unsigned int" to prevent following errors:
  
  #include <sys/types.h>
  #include <sys/stat.h>
  
  main () {
  }
  
  cc -D_POSIX_C_SOURCE test.c
  /usr/include/sys/stat.h:127: syntax error before "u_int"
  /usr/include/sys/stat.h:158: syntax error before "u_int"
  
  (u_int becomes invisible for _POSIX_C_SOURCE and some other *_SOURCE modes)
  
  Revision  Changes    Path
  1.33      +4 -4      src/sys/sys/stat.h

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




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