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-runserver/httpd-utils.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/blogc-runserver/httpd-utils.h') diff --git a/src/blogc-runserver/httpd-utils.h b/src/blogc-runserver/httpd-utils.h index 06ad6e1..db638ad 100644 --- a/src/blogc-runserver/httpd-utils.h +++ b/src/blogc-runserver/httpd-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 _HTTPD_UTILS_H -#define _HTTPD_UTILS_H +#pragma once #define READLINE_BUFFER_SIZE 2048 @@ -15,5 +9,3 @@ char* br_readline(int socket); int br_hextoi(const char c); char* br_urldecode(const char *str); const char* br_get_extension(const char *filename); - -#endif /* _HTTPD_UTILS_H */ -- cgit v1.2.3-18-g5258