Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 1999 07:50:13 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/nfs nfsm_subs.h xdr_subs.h
Message-ID:  <199908191450.HAA43604@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       1999/08/19 07:50:13 PDT

  Modified files:
    sys/nfs              nfsm_subs.h xdr_subs.h 
  Log:
  Convert all the nfs macros to do { blah } while (0) to ensure it
  works correctly in if/else etc.  egcs had probably picked up most of the
  problems here before with "ambiguous braces" etc, but this should
  increase the robustness a bit.  Based on an idea from Eivind Eklund.
  
  Revision  Changes    Path
  1.26      +168 -111  src/sys/nfs/nfsm_subs.h
  1.12      +16 -11    src/sys/nfs/xdr_subs.h



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




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