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/utf8.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/utf8.h')
-rw-r--r-- | src/common/utf8.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/common/utf8.h b/src/common/utf8.h index bf0f1ae..6c1a992 100644 --- a/src/common/utf8.h +++ b/src/common/utf8.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 _UTF_8_H -#define _UTF_8_H +#pragma once #include <stdbool.h> #include <stddef.h> @@ -17,5 +11,3 @@ bool bc_utf8_validate(const uint8_t *str, size_t len); bool bc_utf8_validate_str(bc_string_t *str); size_t bc_utf8_skip_bom(const uint8_t *str, size_t len); - -#endif /* _UTF_8_H */ |