Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2007 04:18:03 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/kdump mksubr
Message-ID:  <200701040418.l044I3YQ062091@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rodrigc     2007-01-04 04:18:03 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/kdump        mksubr 
  Log:
  Add auto_if_type() function, which is similar to auto_switch_type().
  However, auto_if_type() uses if/else statements in C instead
  of a single switch statement, when mapping an integer value to
  a #define.  For certain cases where multiple #define constants
  alias to a single integer value, auto_if_type() makes things easier
  to parse than auto_switch_type().
  
  Revision  Changes    Path
  1.6       +30 -0     src/usr.bin/kdump/mksubr



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