summaryrefslogtreecommitdiffstats
path: root/src/blogc-make/httpd.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2024-05-21 01:21:34 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2024-05-21 01:21:34 +0200
commit0bbc18869720ad042b668742ca48e5cb8a37491a (patch)
tree55248d0a68679cf22fb7eac3a1a41ba6f0d039c7 /src/blogc-make/httpd.h
parentf35e7ab6965d4da9779e948de71d23892954c1c7 (diff)
downloadblogc-0bbc18869720ad042b668742ca48e5cb8a37491a.tar.gz
blogc-0bbc18869720ad042b668742ca48e5cb8a37491a.tar.bz2
blogc-0bbc18869720ad042b668742ca48e5cb8a37491a.zip
*: modernize file headers (spdx and include guards)
Diffstat (limited to 'src/blogc-make/httpd.h')
-rw-r--r--src/blogc-make/httpd.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/blogc-make/httpd.h b/src/blogc-make/httpd.h
index b0fa87d..73a8007 100644
--- a/src/blogc-make/httpd.h
+++ b/src/blogc-make/httpd.h
@@ -1,13 +1,7 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
-#ifndef _MAKE_HTTPD_H
-#define _MAKE_HTTPD_H
+#pragma once
#include "../common/utils.h"
#include "ctx.h"
@@ -15,5 +9,3 @@
int bm_httpd_run(bm_ctx_t **ctx, bm_rule_exec_func_t rule_exec, bc_slist_t *outputs,
bc_trie_t *args);
-
-#endif /* _MAKE_HTTPD_H */