Switch from header guards to pragma once

This commit is contained in:
Dominik Charousset 2019-09-17 14:10:30 +02:00
parent 83180a2553
commit c1f3fe7829
254 changed files with 260 additions and 1008 deletions

View file

@ -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