aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-jxta.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2005-06-06 17:07:04 +0000
committerAnders Broman <anders.broman@ericsson.com>2005-06-06 17:07:04 +0000
commit44ef4de0d578b359e1710fea588877acc5c0fa3b (patch)
tree43bccaa0e8904c70c29033b9ab702ec7b2dda4eb /epan/dissectors/packet-jxta.h
parente490b40a24d22ce7e23b36b67e23fbe58bf446c4 (diff)
Fix a typo and add an ifdef
svn path=/trunk/; revision=14562
Diffstat (limited to 'epan/dissectors/packet-jxta.h')
-rw-r--r--epan/dissectors/packet-jxta.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/epan/dissectors/packet-jxta.h b/epan/dissectors/packet-jxta.h
index 366460603c..0f4cecd036 100644
--- a/epan/dissectors/packet-jxta.h
+++ b/epan/dissectors/packet-jxta.h
@@ -29,7 +29,8 @@
* 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_JXTA_H__
+#define __PACKET_JXTA_H__
#include <glib.h>
#include <epan/packet.h>
@@ -37,10 +38,10 @@
/**
* Stream Conversation data
**/
-struct jxta_tap_header {
+typedef struct jxta_tap_header{
address src_address;
address dest_address;
guint32 size;
-};
+}jxta_tap_header;
+#endif
-typedef struct jxta_tap_header jxta_tap_header;