You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
283 B
17 lines
283 B
7 months ago
|
/* 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 */
|