mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Replace most uses of typedef with using for type aliasing
This commit is contained in:
parent
7101f30646
commit
64748edab1
44 changed files with 100 additions and 101 deletions
|
@ -15,11 +15,11 @@ enum TransportProto
|
|||
|
||||
extern const char* transport_proto_string(TransportProto proto);
|
||||
|
||||
typedef enum
|
||||
{
|
||||
enum IPFamily
|
||||
{
|
||||
IPv4,
|
||||
IPv6
|
||||
} IPFamily;
|
||||
};
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <arpa/inet.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue