summaryrefslogtreecommitdiffstats
path: root/src/common/sort.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/sort.h')
-rw-r--r--src/common/sort.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/common/sort.h b/src/common/sort.h
index 9f4dda2..b77d682 100644
--- a/src/common/sort.h
+++ b/src/common/sort.h
@@ -1,18 +1,10 @@
-/*
- * 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 _SORT_H
-#define _SORT_H
+#pragma once
#include "utils.h"
typedef int (*bc_sort_func_t) (const void *a, const void *b);
bc_slist_t* bc_slist_sort(bc_slist_t *l, bc_sort_func_t cmp);
-
-#endif /* _SORT_H */