aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/bitswap.c2
-rw-r--r--epan/dfilter/dfilter.c1
-rw-r--r--epan/dfilter/grammar.lemon2
-rw-r--r--epan/dissectors/packet-sna.h35
-rw-r--r--epan/ftypes/ftypes.c2
-rw-r--r--epan/stats_tree.c2
-rw-r--r--gtk/print_mswin.c2
-rw-r--r--mkstemp.c2
-rw-r--r--plugins/mate/mate_grammar.lemon1
-rw-r--r--plugins/mate/mate_util.c1
-rw-r--r--wiretap/ascend-grammar.y2
-rw-r--r--wiretap/wtap.c2
12 files changed, 19 insertions, 35 deletions
diff --git a/epan/bitswap.c b/epan/bitswap.c
index 8871292b3e..0fa8198f9f 100644
--- a/epan/bitswap.c
+++ b/epan/bitswap.c
@@ -29,6 +29,8 @@
#include <glib.h>
+#include "bitswap.h"
+
/* "swaptab[i]" is the value of "i" with the bits reversed. */
guint8 swaptab[256] = {
0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0, 0x60, 0xe0,
diff --git a/epan/dfilter/dfilter.c b/epan/dfilter/dfilter.c
index 20b90fc9c6..aded30f365 100644
--- a/epan/dfilter/dfilter.c
+++ b/epan/dfilter/dfilter.c
@@ -33,6 +33,7 @@
#include "semcheck.h"
#include "dfvm.h"
#include <epan/epan_dissect.h>
+#include "dfilter.h"
#define DFILTER_TOKEN_ID_OFFSET 1
diff --git a/epan/dfilter/grammar.lemon b/epan/dfilter/grammar.lemon
index c9d66fba2b..08169369c2 100644
--- a/epan/dfilter/grammar.lemon
+++ b/epan/dfilter/grammar.lemon
@@ -11,6 +11,8 @@
#include "sttype-test.h"
#include "drange.h"
+#include "grammar.h"
+
/* End of C code */
}
diff --git a/epan/dissectors/packet-sna.h b/epan/dissectors/packet-sna.h
deleted file mode 100644
index 47056a5a46..0000000000
--- a/epan/dissectors/packet-sna.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/* packet-sna.h
- * Definitions for SNA dissection.
- *
- * $Id$
- *
- * This program is free software; you can redistribute it and/or
- * 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.
- */
-
-#ifndef __PACKET_SNA_H__
-#define __PACKET_SNA_H__
-
-/*
- * Structure used to represent an FID Type 4 address; gives the layout of the
- * data pointed to by an AT_SNA "address" structure if the size is
- * SNA_FID_TYPE_4_ADDR_LEN.
- */
-#define SNA_FID_TYPE_4_ADDR_LEN 6
-struct sna_fid_type_4_addr {
- guint32 saf;
- guint16 ef;
-};
-
-#endif
diff --git a/epan/ftypes/ftypes.c b/epan/ftypes/ftypes.c
index 154ffe802d..c12c4fe8d2 100644
--- a/epan/ftypes/ftypes.c
+++ b/epan/ftypes/ftypes.c
@@ -28,6 +28,8 @@
#include <glib.h>
#include "../slab.h"
+#include "ftypes.h"
+
/* Keep track of ftype_t's via their ftenum number */
static ftype_t* type_list[FT_NUM_TYPES];
diff --git a/epan/stats_tree.c b/epan/stats_tree.c
index 693ce21e74..cb36ba2d26 100644
--- a/epan/stats_tree.c
+++ b/epan/stats_tree.c
@@ -31,6 +31,8 @@
#include <epan/stats_tree_priv.h>
#include <string.h>
+#include "stats_tree.h"
+
/*
TODO:
- sort out the sorting issue
diff --git a/gtk/print_mswin.c b/gtk/print_mswin.c
index 65727ab288..f61bd7c503 100644
--- a/gtk/print_mswin.c
+++ b/gtk/print_mswin.c
@@ -37,6 +37,8 @@
#include <winspool.h>
#endif
+#include "print_mswin.h"
+
/*
Some thoughts about a GTK win32 printer dialog:
diff --git a/mkstemp.c b/mkstemp.c
index a1041e7648..4d1ffcde1e 100644
--- a/mkstemp.c
+++ b/mkstemp.c
@@ -43,6 +43,8 @@
#include <glib.h>
+#include "mkstemp.h"
+
#ifndef __set_errno
#define __set_errno(x) errno=(x)
#endif
diff --git a/plugins/mate/mate_grammar.lemon b/plugins/mate/mate_grammar.lemon
index 54dc221d7d..203819a108 100644
--- a/plugins/mate/mate_grammar.lemon
+++ b/plugins/mate/mate_grammar.lemon
@@ -27,6 +27,7 @@
*/
#include "mate.h"
+#include "mate_grammar.h"
#define DUMMY void*
diff --git a/plugins/mate/mate_util.c b/plugins/mate/mate_util.c
index 62a0a5e188..8d00002c71 100644
--- a/plugins/mate/mate_util.c
+++ b/plugins/mate/mate_util.c
@@ -26,6 +26,7 @@
*/
#include "mate.h"
+#include "mate_util.h"
/***************************************************************************
* dbg_print
diff --git a/wiretap/ascend-grammar.y b/wiretap/ascend-grammar.y
index 398d8c5852..9a0ba70cd3 100644
--- a/wiretap/ascend-grammar.y
+++ b/wiretap/ascend-grammar.y
@@ -142,6 +142,8 @@ XMIT-Max7:20: (task "_brouterControlTask" at 0xb094ac20, time: 1481.51) 20 octet
#include "ascend-int.h"
#include "file_wrappers.h"
+#include "ascend-grammar.h"
+
#define NO_USER "<none>"
int yyparse(void);
diff --git a/wiretap/wtap.c b/wiretap/wtap.c
index 727c77d286..b1e981b1d1 100644
--- a/wiretap/wtap.c
+++ b/wiretap/wtap.c
@@ -44,6 +44,8 @@
#endif
#include "wtap-int.h"
+#include "wtap.h"
+
#include "file_wrappers.h"
#include "buffer.h"