mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
Switch from header guards to pragma once
This commit is contained in:
parent
83180a2553
commit
c1f3fe7829
254 changed files with 260 additions and 1008 deletions
|
@ -1,7 +1,6 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#ifndef IPADDR_H
|
||||
#define IPADDR_H
|
||||
#pragma once
|
||||
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
@ -736,5 +735,3 @@ private:
|
|||
IPAddr prefix; // We store it as an address with the non-prefix bits masked out via Mask().
|
||||
uint8_t length; // The bit length of the prefix relative to full IPv6 addr.
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue