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 util_h
#define util_h
#pragma once
#ifdef __GNUC__
#define ZEEK_DEPRECATED(msg) __attribute__ ((deprecated(msg)))
@ -580,5 +579,3 @@ std::unique_ptr<T> build_unique (Args&&... args) {
* @return the escaped string
*/
std::string json_escape_utf8(const std::string& val);
#endif