summaryrefslogtreecommitdiffstats
path: root/src/blogc-make/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-make/utils.h')
-rw-r--r--src/blogc-make/utils.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/blogc-make/utils.h b/src/blogc-make/utils.h
index cbcfc0e..801bf0f 100644
--- a/src/blogc-make/utils.h
+++ b/src/blogc-make/utils.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_UTILS_H
-#define _MAKE_UTILS_H
+#pragma once
#include "../common/error.h"
@@ -16,5 +10,3 @@ char* bm_generate_filename(const char *dir, const char *prefix, const char *fnam
char* bm_generate_filename2(const char *dir, const char *prefix, const char *fname,
const char *prefix2, const char *fname2, const char *ext);
char* bm_abspath(const char *path, bc_error_t **err);
-
-#endif /* _MAKE_UTILS_H */