From 0bbc18869720ad042b668742ca48e5cb8a37491a Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Tue, 21 May 2024 01:21:34 +0200 Subject: *: modernize file headers (spdx and include guards) --- src/blogc-make/utils.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/blogc-make/utils.h') 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 - * - * This program can be distributed under the terms of the BSD License. - * See the file LICENSE. - */ +// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins +// 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 */ -- cgit v1.2.3-18-g5258