Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: jtc@redback.com (J.T. Conklin)
To: Michael Elizabeth Chastain <chastain@cygnus.com>
Cc: gdb-patches@sourceware.cygnus.com
Subject: Re: [PATCH]: misc header file cleanup.
Date: Thu, 01 Mar 2001 13:43:00 -0000	[thread overview]
Message-ID: <5mzof5p3lt.fsf@jtc.redback.com> (raw)
In-Reply-To: <200103012059.MAA12281@bosch.cygnus.com>

>>>>> "Michael" == Michael Elizabeth Chastain <chastain@cygnus.com> writes:
Michael> Proofread, no problems found.

Many thanks.

Michael> MIN_OF_TYPE is never used.  MAX_OF_TYPE is used only in
Michael> m2-exp.y in some code that is #if 0'd out.

Correct.  But had that code in m2-exp.y been enabled, the lack of
parens in MAX_OF_TYPE would have surprising results.  In any case,
there is no harm to fix the macros now in case someone decides to
use them later.

I suspect there will be quite a few nits that linting will be turn up.
Some will be of this nature, where it's a "obviously correct" fix.  I
suspect quite a few will highlight poor divisions of interface and
implementation (for example, declarations of functions in multiple
header files, etc.).  And other things I choose to simple suppress
(fortunately, the lint I'm using has very finegrained control over
error message generation).

        --jtc

-- 
J.T. Conklin
RedBack Networks


  reply	other threads:[~2001-03-01 13:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-01 12:59 Michael Elizabeth Chastain
2001-03-01 13:43 ` J.T. Conklin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-03-01 14:12 Michael Elizabeth Chastain
2001-03-01 14:57 ` J.T. Conklin
2001-03-01 12:53 J.T. Conklin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5mzof5p3lt.fsf@jtc.redback.com \
    --to=jtc@redback.com \
    --cc=chastain@cygnus.com \
    --cc=gdb-patches@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox