diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-03-23 18:36:05 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-03-23 18:36:05 +0000 |
commit | 61b717f53ca2c4dc22b8b5ed53cfc83b9958ad00 (patch) | |
tree | df494967cdb357ba2264839d381c3a879ee4709a /packet-aim-icq.c | |
parent | b7ef0e5bed2aa01b6ba8bb832d96c14dca101c03 (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-icq.c')
-rw-r--r-- | packet-aim-icq.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packet-aim-icq.c b/packet-aim-icq.c index de9c864cce..80ea42b7d6 100644 --- a/packet-aim-icq.c +++ b/packet-aim-icq.c @@ -2,7 +2,7 @@ * Routines for AIM Instant Messenger (OSCAR) dissection, SNAC ICQ * Copyright 2004, Jelmer Vernooij <jelmer@samba.org> * - * $Id: packet-aim-icq.c,v 1.1 2004/03/23 06:21:16 guy Exp $ + * $Id: packet-aim-icq.c,v 1.2 2004/03/23 18:36:05 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -87,8 +87,9 @@ proto_register_aim_icq(void) { /* Setup list of header fields */ +/*FIXME static hf_register_info hf[] = { - }; + };*/ /* Setup protocol subtree array */ static gint *ett[] = { @@ -99,7 +100,8 @@ proto_register_aim_icq(void) proto_aim_icq = proto_register_protocol("AIM ICQ", "AIM ICQ", "aim_icq"); /* Required function calls to register the header fields and subtrees used */ - proto_register_field_array(proto_aim_icq, hf, array_length(hf)); +/*FIXME + proto_register_field_array(proto_aim_icq, hf, array_length(hf));*/ proto_register_subtree_array(ett, array_length(ett)); } |