1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-30 13:32:45 +00:00
serenity/Userland/Libraries/LibC/byteswap.h
Brian Gianforcaro 1682f0b760 Everything: Move to SPDX license identifiers in all files.
SPDX License Identifiers are a more compact / standardized
way of representing file license information.

See: https://spdx.dev/resources/use/#identifiers

This was done with the `ambr` search and replace tool.

 ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-22 11:22:27 +02:00

17 lines
296 B
C

/*
* Copyright (c) 2020, the SerenityOS developers
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <sys/cdefs.h>
#pragma once
__BEGIN_DECLS
#define bswap_16(x) (__builtin_bswap16(x))
#define bswap_32(x) (__builtin_bswap32(x))
#define bswap_64(x) (__builtin_bswap64(x))
__END_DECLS