aboutsummaryrefslogtreecommitdiffstats
path: root/packet-aim-messaging.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-03-23 18:36:05 +0000
committerGuy Harris <guy@alum.mit.edu>2004-03-23 18:36:05 +0000
commit61b717f53ca2c4dc22b8b5ed53cfc83b9958ad00 (patch)
treedf494967cdb357ba2264839d381c3a879ee4709a /packet-aim-messaging.c
parentb7ef0e5bed2aa01b6ba8bb832d96c14dca101c03 (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. svn path=/trunk/; revision=10463
Diffstat (limited to 'packet-aim-messaging.c')
-rw-r--r--packet-aim-messaging.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/packet-aim-messaging.c b/packet-aim-messaging.c
index b3d1f9ab4f..14b59ad2c3 100644
--- a/packet-aim-messaging.c
+++ b/packet-aim-messaging.c
@@ -3,7 +3,7 @@
* Copyright 2004, Jelmer Vernooij <jelmer@samba.org>
* Copyright 2000, Ralf Hoelzer <ralf@well.com>
*
- * $Id: packet-aim-messaging.c,v 1.1 2004/03/23 06:21:16 guy Exp $
+ * $Id: packet-aim-messaging.c,v 1.2 2004/03/23 18:36:05 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -162,8 +162,9 @@ proto_register_aim_messaging(void)
{
/* Setup list of header fields */
+/*FIXME
static hf_register_info hf[] = {
- };
+ };*/
/* Setup protocol subtree array */
static gint *ett[] = {
@@ -174,7 +175,8 @@ proto_register_aim_messaging(void)
proto_aim_messaging = proto_register_protocol("AIM Messaging", "AIM Messaging", "aim_messaging");
/* Required function calls to register the header fields and subtrees used */
- proto_register_field_array(proto_aim_messaging, hf, array_length(hf));
+/*FIXME
+ proto_register_field_array(proto_aim_messaging, hf, array_length(hf));*/
proto_register_subtree_array(ett, array_length(ett));
}