Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2003 11:40:36 -0700 (PDT)
From:      Garance A Drosehn <gad@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys cdefs.h
Message-ID:  <200307251840.h6PIea2N049887@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
gad         2003/07/25 11:40:36 PDT

  FreeBSD src repository

  Modified files:
    sys/sys              cdefs.h 
  Log:
  Discussions on src-committers with alfred and bde pointed out that
  the "do-nothing" versions of __RCSID(), __RCSID_SOURCE(), __SCCSID(),
  and __COPYRIGHT() were not strictly correct.  They should not expand
  into [nothing], because the ';' which follows them would then cause
  a syntax error (in a strict C compiler, if not gcc...).
  
  So, change the do-nothing versions of those macros to use the
  'struct __hack' tactic, as was already used with __FBSDID().
  
  Approved by:    discussions with bde
  MFC after:      1 week
  
  Revision  Changes    Path
  1.75      +8 -6      src/sys/sys/cdefs.h



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