summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2020-07-07 17:49:00 +0200
committerAki <please@ignore.pl>2020-07-07 17:49:00 +0200
commitc8ddc4b5ad62e7ec90f25c6f647bf1caf38f80e6 (patch)
tree288787e1716c92cdcad2adc7fc199cdcfaaf34c7
parentf6aa26cb6489338c66c07cea14f2892eec88cb01 (diff)
downloadplop-c8ddc4b5ad62e7ec90f25c6f647bf1caf38f80e6.zip
plop-c8ddc4b5ad62e7ec90f25c6f647bf1caf38f80e6.tar.gz
plop-c8ddc4b5ad62e7ec90f25c6f647bf1caf38f80e6.tar.bz2
Changed to use pragma once instead of full guard in http header
-rw-r--r--http.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/http.h b/http.h
index d24d996..7d98222 100644
--- a/http.h
+++ b/http.h
@@ -1,5 +1,4 @@
-#ifndef HTTP_H
-#define HTTP_H
+#pragma once
struct span
{
@@ -53,5 +52,3 @@ int parse_step_path(struct request *);
int parse_step_version(struct request *);
int parse_step_header_name(struct request *);
int parse_step_header_value(struct request *);
-
-#endif // HTTP_H