aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-jxta.h
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-06 17:07:04 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-06 17:07:04 +0000
commit2a3ae7d18c14751933363364228560f6ff03a319 (patch)
tree43bccaa0e8904c70c29033b9ab702ec7b2dda4eb /epan/dissectors/packet-jxta.h
parentf417d655bb72f2a32494d7b895934c24bc9f0758 (diff)
Fix a typo and add an ifdef
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14562 f5534014-38df-0310-8fa8-9805f1628bb7
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;