libmetal
353
sleep.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018, Linaro Limited. and Contributors. All rights reserved.
3
*
4
* SPDX-License-Identifier: BSD-3-Clause
5
*/
6
12
#ifndef __METAL_SLEEP__H__
13
#error "Include metal/sleep.h instead of metal/generic/sleep.h"
14
#endif
15
16
#ifndef __METAL_GENERIC_SLEEP__H__
17
#define __METAL_GENERIC_SLEEP__H__
18
19
#include <metal/utilities.h>
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
25
static
inline
int
__metal_sleep_usec
(
unsigned
int
usec)
26
{
27
metal_unused
(usec);
28
/* Fix me */
29
return
0;
30
}
31
32
#ifdef __cplusplus
33
}
34
#endif
35
36
#endif
/* __METAL_GENERIC_SLEEP__H__ */
metal_unused
#define metal_unused(x)
Marker for unused function arguments/variables.
Definition:
utilities.h:37
__metal_sleep_usec
static int __metal_sleep_usec(unsigned int usec)
Definition:
sleep.h:25
lib
system
generic
sleep.h
Generated on Tue Dec 23 2025 14:41:34 for libmetal by
1.9.1