Dissectors don't need to #include <gmodule.h>

Also: #include <stdlib.h> not req'd in some cases.

svn path=/trunk/; revision=38409
This commit is contained in:
Bill Meier 2011-08-08 15:41:09 +00:00
parent 3f8edaa2d1
commit b708c2892b
16 changed files with 20 additions and 29 deletions

View File

@ -43,11 +43,10 @@
#include "config.h"
#endif
#include <gmodule.h>
#include <glib.h>
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/packet.h>
#include <epan/ipv6-utils.h>
#include "packet-acn.h"

View File

@ -39,7 +39,7 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <gmodule.h>
#include <glib.h>
#include <epan/exceptions.h>
#include <epan/packet.h>

View File

@ -38,7 +38,8 @@
#endif
#include <stdlib.h>
#include <gmodule.h>
#include <glib.h>
#include <math.h>
#ifdef HAVE_SYS_TYPES_H

View File

@ -36,7 +36,7 @@
#include "config.h"
#endif
#include <gmodule.h>
#include <glib.h>
#include <epan/packet.h>
#include <epan/etypes.h>
#include <epan/emem.h>

View File

@ -32,7 +32,6 @@
#endif
#include <glib.h>
#include <gmodule.h>
#include <epan/strutil.h>

View File

@ -64,15 +64,15 @@
#endif /* HAVEHCONFIG_H */
#include <string.h>
#include <stdlib.h>
#include <gmodule.h>
#include <glib.h>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <sys/stat.h>
#include <glib.h>
#include <epan/emem.h>
#include <epan/packet.h>
#include <epan/crc16.h>

View File

@ -31,7 +31,6 @@
# include "config.h"
#endif
#include <gmodule.h>
#include <glib.h>
#include <epan/packet.h>

View File

@ -11,12 +11,12 @@
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@ -26,9 +26,8 @@
#include "config.h"
#endif
#include <gmodule.h>
#include <glib.h>
#include <epan/packet.h>
#include <epan/proto.h>
#include <epan/etypes.h>
#include "packet-smb-common.h"

View File

@ -30,7 +30,7 @@
#include <string.h>
#include <gmodule.h>
#include <glib.h>
#include <epan/packet.h>
#include "packet-tcp.h"

View File

@ -28,7 +28,7 @@
# include "config.h"
#endif
#include <gmodule.h>
#include <glib.h>
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/dissectors/packet-tcp.h> /* For tcp_dissect_pdus() */

View File

@ -27,11 +27,10 @@
# include "config.h"
#endif
#include <gmodule.h>
#include <glib.h>
#include <epan/packet.h>
#include <epan/bitswap.h>
#include <epan/circuit.h>
#include <epan/packet.h>
#include <epan/stream.h>
/* #include <epan/reassemble.h> */
#include <epan/crc16.h>

View File

@ -30,10 +30,9 @@
#endif /* HAVEHCONFIG_H */
#include <string.h>
#include <stdlib.h>
#include <glib.h>
#include <gmodule.h>
#include <epan/proto.h>
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/addr_resolv.h>

View File

@ -29,9 +29,8 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
#include <stdlib.h>
#include <glib.h>
#include <gmodule.h>
#include <epan/packet.h>
#include <epan/addr_resolv.h>

View File

@ -29,9 +29,7 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
#include <stdlib.h>
#include <glib.h>
#include <gmodule.h>
#include <epan/packet.h>
#include <epan/addr_resolv.h>

View File

@ -29,9 +29,8 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
#include <stdlib.h>
#include <glib.h>
#include <gmodule.h>
#include <epan/packet.h>
#include <epan/expert.h>

View File

@ -51,10 +51,10 @@
#include <sys/types.h>
#endif
#include <sys/stat.h>
#include <string.h>
#include <stdlib.h>
#include <glib.h>
#include <gmodule.h>
#include <epan/packet.h>
#include <epan/prefs.h>