tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mbuf initialization macros



    Date:        Tue, 19 Apr 2016 13:49:24 +0200
    From:        Joerg Sonnenberger <joerg%bec.de@localhost>
    Message-ID:  <20160419114924.GC5887%britannica.bec.de@localhost>

  | Clang certainly has a warning under -Wall (IIRC) for unused static
  | functions, but it is also smart enough to filter out headers. I don't
  | see why __unused is helpful here

I expect it isn't and can be deleted, I just was not confident enough
(nor know enough about the behaviour of the various compilers) to
recommend removing it (it has been there for a decade or so...)

But it certainly sounds as if removing it would be worth trying,
and should cause no problems.

kre



Home | Main Index | Thread Index | Old Index