aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-frame.h
diff options
context:
space:
mode:
authorOlivier Biot <obiot.ethereal@gmail.com>2004-07-29 00:11:14 +0000
committerOlivier Biot <obiot.ethereal@gmail.com>2004-07-29 00:11:14 +0000
commita11651260beaf977f8e795ae48e6300b0148c0e9 (patch)
tree04b7a3581442ea8a49caf07643231d0059927a82 /epan/dissectors/packet-frame.h
parent1867a5e9a5b8e91139d2a4db3b5419bd6fdfded8 (diff)
From Lars Roland: With this patch print.(c/h) and ps.(c/h) don't belong to
the DISSECTOR_SUPPORT_xy files any longer and as a consequence they won't be linked into libethereal. svn path=/trunk/; revision=11559
Diffstat (limited to 'epan/dissectors/packet-frame.h')
-rw-r--r--epan/dissectors/packet-frame.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/epan/dissectors/packet-frame.h b/epan/dissectors/packet-frame.h
index 77fbff6f1f..f5a135956b 100644
--- a/epan/dissectors/packet-frame.h
+++ b/epan/dissectors/packet-frame.h
@@ -42,8 +42,11 @@ show_reported_bounds_error(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
*/
extern int proto_malformed;
-extern int proto_frame;
-extern int hf_frame_arrival_time;
-extern int hf_frame_number;
-extern int hf_frame_packet_len;
-extern int hf_frame_capture_len;
+/* following variables are exported from libethereal.dll.
+ * Thus we need a special declaration.
+ */
+ETH_VAR_IMPORT int proto_frame;
+ETH_VAR_IMPORT int hf_frame_arrival_time;
+ETH_VAR_IMPORT int hf_frame_number;
+ETH_VAR_IMPORT int hf_frame_packet_len;
+ETH_VAR_IMPORT int hf_frame_capture_len;