Ethereal-dev: [Ethereal-dev] Getting rid of ui_util.h mess?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Sat, 20 Aug 2005 04:25:09 +0200
While looking at the "no previous declaration" warnings in gtk/ I was
reminded again about the (top-level) ui_util.h file. I think it should go
and be replaced by the proper includes from gtk/. Here is why:
- We have a file of the same name in gtk/ but different contents. This
  makes things confusing. So confusing that there is a comment about this
  in at least one place.
- The prototypes given in that file are not validated automatically to
  match the prototypes in gtk/*.c
- It creates "no previous declaration" warnings because they have non-static
  functions that are not declared in any (included) .h file.
Is there any real reason for its continued existence?

 ciao
 Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.