Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 2009 17:44:31 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/sys cdefs.h
Message-ID:  <200903011744.n21HifKd040545@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2009-03-01 17:44:31 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              cdefs.h 
  Log:
  SVN rev 189247 on 2009-03-01 17:44:31Z by ed
  
  Hide __restrict from lint, just like we do with other keywords.
  
  Unlike GCC, LLVM defines __STDC_VERSION__ to 199901L by default. This
  means `restrict' keywords in files end up being given to lint, which
  results in errors during compilation of usr.bin/xlint.
  
  Other keywords are also expanded to nothing when using lint, so do the
  same with restrict.
  
  Revision  Changes    Path
  1.100     +1 -1      src/sys/sys/cdefs.h



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