From Albert Chin: the HP-UX 10.20 C compiler doesn't allow
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 9 Nov 2003 22:15:29 +0000 (22:15 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 9 Nov 2003 22:15:29 +0000 (22:15 +0000)
commit2a0bc497fd9bfa32a15257c2f469d672a2874a12
treec58921cb73dc6b8c2f5d350d91d8255fba73d70b
parentf604325901d679a689a8e77b69a5b36259a52c7f
From Albert Chin: the HP-UX 10.20 C compiler doesn't allow

typedef enum _foo foo;
enum _foo {
...
};

You have to define the enum before using it in a typedef.  (If I had my
ANSI C89 standard handy, I could say whether that was legal ANSI C or
not.)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8918 f5534014-38df-0310-8fa8-9805f1628bb7
plugins/asn1/packet-asn1.c