]> Git Repo - J-u-boot.git/blob - include/errno.h
ARM: display5: Remove "factory procedure" from display5 board config
[J-u-boot.git] / include / errno.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2014 Samsung Electronics
4  * Przemyslaw Marczak <[email protected]>
5  */
6 #ifndef _ERRNO_H
7 #define _ERRNO_H
8
9 #include <linux/errno.h>
10
11 extern int errno;
12
13 #define __set_errno(val) do { errno = val; } while (0)
14
15 #ifdef CONFIG_ERRNO_STR
16 const char *errno_str(int errno);
17 #else
18 static inline const char *errno_str(int errno)
19 {
20         return 0;
21 }
22 #endif
23 #endif /* _ERRNO_H */
This page took 0.027271 seconds and 4 git commands to generate.