mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 08:49:45 +00:00
17 lines
283 B
C
17 lines
283 B
C
![]() |
/* SPDX-License-Identifier: GPL-2.0 */
|
||
|
#ifndef _LINUX_ERRNAME_H
|
||
|
#define _LINUX_ERRNAME_H
|
||
|
|
||
|
#include <linux/stddef.h>
|
||
|
|
||
|
#ifdef CONFIG_SYMBOLIC_ERRNAME
|
||
|
const char *errname(int err);
|
||
|
#else
|
||
|
static inline const char *errname(int err)
|
||
|
{
|
||
|
return NULL;
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* _LINUX_ERRNAME_H */
|