aboutsummaryrefslogtreecommitdiffstats
path: root/packet-aim-chat.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-03-23 18:36:05 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-03-23 18:36:05 +0000
commite12b71004c80c1659387e42da6640966ead862ff (patch)
treedf494967cdb357ba2264839d381c3a879ee4709a /packet-aim-chat.c
parent80a9cb69cfa7ebb6bdcfaf4ca5408f0f11e2886e (diff)
Zero-length arrays are *not* valid in C89, even if GCC doesn't happen to
have a problem with them; MSVC++, for example, doesn't handle them, so we comment them out. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10463 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-aim-chat.c')
-rw-r--r--packet-aim-chat.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/packet-aim-chat.c b/packet-aim-chat.c
index 0000ffa7e0..e7a0d7db98 100644
--- a/packet-aim-chat.c
+++ b/packet-aim-chat.c
@@ -3,7 +3,7 @@
* Copyright 2004, Jelmer Vernooij <jelmer@samba.org>
* Copyright 2000, Ralf Hoelzer <ralf@well.com>
*
- * $Id: packet-aim-chat.c,v 1.1 2004/03/23 06:21:16 guy Exp $
+ * $Id: packet-aim-chat.c,v 1.2 2004/03/23 18:36:05 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -129,8 +129,9 @@ proto_register_aim_chat(void)
{
/* Setup list of header fields */
+/*FIXME
static hf_register_info hf[] = {
- };
+ };*/
/* Setup protocol subtree array */
static gint *ett[] = {
@@ -141,7 +142,8 @@ proto_register_aim_chat(void)
proto_aim_chat = proto_register_protocol("AIM Chat Service", "AIM Chat", "aim_chat");
/* Required function calls to register the header fields and subtrees used */
- proto_register_field_array(proto_aim_chat, hf, array_length(hf));
+/*FIXME
+ proto_register_field_array(proto_aim_chat, hf, array_length(hf));*/
proto_register_subtree_array(ett, array_length(ett));
}