source: mainline/uspace/lib/c/include/unaligned.h@ cd1e3fc0

Last change on this file since cd1e3fc0 was d7f7a4a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago

Replace some license headers with SPDX identifier

Headers are replaced using tools/transorm-copyright.sh only
when it can be matched verbatim with the license header used
throughout most of the codebase.

  • Property mode set to 100644
File size: 624 bytes
Line 
1/*
2 * SPDX-FileCopyrightText: 2017 Jakub Jermar
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/** @addtogroup libc
8 * @{
9 */
10/** @file
11 */
12
13#ifndef _LIBC_UNALIGNED_H_
14#define _LIBC_UNALIGNED_H_
15
16#include <stdint.h>
17
18typedef int16_t unaligned_int16_t __attribute__((aligned(1)));
19typedef int32_t unaligned_int32_t __attribute__((aligned(1)));
20typedef int64_t unaligned_int64_t __attribute__((aligned(1)));
21
22typedef uint16_t unaligned_uint16_t __attribute__((aligned(1)));
23typedef uint32_t unaligned_uint32_t __attribute__((aligned(1)));
24typedef uint64_t unaligned_uint64_t __attribute__((aligned(1)));
25
26#endif
27
28/** @}
29 */
Note: See TracBrowser for help on using the repository browser.