fundamental: rename type.h → types-fundamental.h

"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.
This commit is contained in:
Lennart Poettering
2021-11-11 15:29:53 +01:00
parent 81d9db6805
commit e514b5071c
5 changed files with 4 additions and 4 deletions

View 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,

View 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__))

View 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

View File

@@ -6,7 +6,7 @@
#include <efilib.h>
#endif
#include "type.h"
#include "types-fundamental.h"
struct sha256_ctx {
uint32_t H[8];