Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/plugins/asn1 packet-asn1.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Sun, 9 Nov 2003 16:15:30 -0600 (CST)
guy         2003/11/09 16:15:30 CST

  Modified files:
    plugins/asn1         packet-asn1.c 
  Log:
  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.)
  
  Revision  Changes    Path
  1.10      +3 -3      ethereal/plugins/asn1/packet-asn1.c