diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2024-05-21 01:21:34 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2024-05-21 01:21:34 +0200 |
commit | 0bbc18869720ad042b668742ca48e5cb8a37491a (patch) | |
tree | 55248d0a68679cf22fb7eac3a1a41ba6f0d039c7 /src/common/utils.h | |
parent | f35e7ab6965d4da9779e948de71d23892954c1c7 (diff) | |
download | blogc-0bbc18869720ad042b668742ca48e5cb8a37491a.tar.gz blogc-0bbc18869720ad042b668742ca48e5cb8a37491a.tar.bz2 blogc-0bbc18869720ad042b668742ca48e5cb8a37491a.zip |
*: modernize file headers (spdx and include guards)
Diffstat (limited to 'src/common/utils.h')
-rw-r--r-- | src/common/utils.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/common/utils.h b/src/common/utils.h index 4bdab8c..a9aa731 100644 --- a/src/common/utils.h +++ b/src/common/utils.h @@ -1,13 +1,7 @@ -/* - * blogc: A blog compiler. - * Copyright (C) 2014-2020 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 _UTILS_H -#define _UTILS_H +#pragma once #include <stddef.h> #include <stdarg.h> @@ -106,5 +100,3 @@ void bc_trie_foreach(bc_trie_t *trie, bc_trie_foreach_func_t func, // shell char* bc_shell_quote(const char *command); - -#endif /* _UTILS_H */ |