]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fundamental: rename type.h → types-fundamental.h
authorLennart Poettering <lennart@poettering.net>
Thu, 11 Nov 2021 14:29:53 +0000 (15:29 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Nov 2021 16:23:09 +0000 (17:23 +0100)
"type.h" is a very generic name, but this header is very specific to
making the "fundaemtnal" stuff work, it maps genric types in two
distinct ways. Hence let's make clear in the header name already what
this is about.

src/fundamental/bootspec-fundamental.h
src/fundamental/macro-fundamental.h
src/fundamental/meson.build
src/fundamental/sha256.h
src/fundamental/types-fundamental.h [moved from src/fundamental/type.h with 100% similarity]

index 0a1fe5c5baae3e383f2027c0fc55359ecfe5ef81..2cb6d7daa10d9eaac566b62f63d7796b06dd429c 100644 (file)
@@ -1,7 +1,7 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 #pragma once
 
-#include "type.h"
+#include "types-fundamental.h"
 
 sd_bool bootspec_pick_name_version(
                 const sd_char *os_pretty_name,
index 44af0bd0a02face3ccea3e62ca205f8e5aabaf28..c52957a55c3738bba195589df90f185250e829ce 100644 (file)
@@ -6,7 +6,7 @@
 #endif
 
 #include <limits.h>
-#include "type.h"
+#include "types-fundamental.h"
 
 #define _align_(x) __attribute__((__aligned__(x)))
 #define _const_ __attribute__((__const__))
index 26859653e60ce1a4603aebac03f82886e13ae15d..287f0fe36ad9775af37e023fffb77436a1be8011 100644 (file)
@@ -8,7 +8,7 @@ fundamental_headers = files(
         'macro-fundamental.h',
         'sha256.h',
         'string-util-fundamental.h',
-        'type.h')
+        'types-fundamental.h')
 
 sources = '''
         bootspec-fundamental.c
index 9fc090b4e074eb8a22ad4ffde0390c2dfa16488a..abc4167628d8d3d5e005e87f917c29bccd9af69b 100644 (file)
@@ -6,7 +6,7 @@
 #include <efilib.h>
 #endif
 
-#include "type.h"
+#include "types-fundamental.h"
 
 struct sha256_ctx {
         uint32_t H[8];