Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions iocore/net/ProxyProtocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
limitations under the License.
*/

#ifndef ProxyProtocol_H_
#define ProxyProtocol_H_
#pragma once

#include "tscore/ink_defs.h"
#include "tscore/ink_memory.h"
Expand All @@ -51,5 +50,3 @@ const size_t PROXY_V2_CONNECTION_HEADER_LEN_MIN = 16;

const size_t PROXY_V1_CONNECTION_HEADER_LEN_MAX = 108;
const size_t PROXY_V2_CONNECTION_HEADER_LEN_MAX = 16;

#endif /* ProxyProtocol_H_ */
5 changes: 1 addition & 4 deletions plugins/experimental/cookie_remap/cookiejar.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
limitations under the License.
*/

#ifndef CKREMAP_COOKIEJAR_H_
#define CKREMAP_COOKIEJAR_H_
#pragma once

#include <string>
#include <unordered_map>
Expand Down Expand Up @@ -58,5 +57,3 @@ class CookieJar

unordered_map<string, CookieVal> m_jar;
};

#endif // CKREMAP_COOKIEJAR_H_
5 changes: 1 addition & 4 deletions plugins/experimental/cookie_remap/hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
limitations under the License.
*/

#ifndef _CKREMAP_HASH_H_
#define _CKREMAP_HASH_H_
#pragma once

#include <stddef.h> // NOLINT(modernize-deprecated-headers)
#include <sys/types.h>
Expand Down Expand Up @@ -50,5 +49,3 @@ uint32_t hash_fnv32_buckets(const char *buf, size_t len, uint32_t num_buckets);
#ifdef __cplusplus
}
#endif

#endif /* _CKREMAP_HASH_H_ */
5 changes: 1 addition & 4 deletions plugins/experimental/cookie_remap/strip.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
limitations under the License.
*/

#ifndef CKREMAP_IV_H
#define CKREMAP_IV_H
#pragma once

#include <sys/types.h>

Expand Down Expand Up @@ -142,5 +141,3 @@ int get_stripped(const char *in, ssize_t in_len, char *out, int *out_len, unsign
#ifdef __cplusplus
}
#endif

#endif /* CKREMAP_IV_H */
2 changes: 1 addition & 1 deletion plugins/experimental/maxmind_acl/mmdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
limitations under the License.
*/

//#pragma once
#pragma once

#include <cstdio>
#include <cstring>
Expand Down
5 changes: 0 additions & 5 deletions plugins/experimental/memcache/tsmemcache.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
limitations under the License.
*/

#ifndef tsmemcache_h
#define tsmemcache_h

#include "I_EventSystem.h"
#include "I_Net.h"
#include "I_Cache.h"
Expand Down Expand Up @@ -241,5 +238,3 @@ xatoull(char *s, char *e)
}
return n;
}

#endif
5 changes: 1 addition & 4 deletions proxy/http3/Http3SessionAccept.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
limitations under the License.
*/

#ifndef __HTTP_QUIC_SESSION_ACCEPT_H__
#define __HTTP_QUIC_SESSION_ACCEPT_H__
#pragma once

#include "tscore/ink_platform.h"
#include "I_Net.h"
Expand Down Expand Up @@ -53,5 +52,3 @@ class Http3SessionAccept : public SessionAccept

HttpSessionAccept::Options options;
};

#endif // __HTTP_QUIC_SESSION_ACCEPT_H__