diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2023-12-11 10:05:11 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2023-12-11 10:05:11 +0100 |
commit | d248fca4326996d1852313ecd0033ed8290e7e0c (patch) | |
tree | f2814cdcfbce977b92f1e1ac833f6b095050f18a | |
parent | 7ed685d1ba070a775fe708017b685b3f8f64be87 (diff) |
random: Move standard includes before C++ guard
-rw-r--r-- | ell/random.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ell/random.h b/ell/random.h index 8139b74b..9c50192f 100644 --- a/ell/random.h +++ b/ell/random.h @@ -8,14 +8,14 @@ #ifndef __ELL_RANDOM_H #define __ELL_RANDOM_H -#ifdef __cplusplus -extern "C" { -#endif - #include <stddef.h> #include <stdbool.h> #include <stdint.h> +#ifdef __cplusplus +extern "C" { +#endif + bool l_getrandom(void *buf, size_t len); bool l_getrandom_is_supported(void); |