diff options
Diffstat (limited to 'tools/lib/bpf/str_error.h')
| -rw-r--r-- | tools/lib/bpf/str_error.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/lib/bpf/str_error.h b/tools/lib/bpf/str_error.h new file mode 100644 index 000000000000..355b1db571d1 --- /dev/null +++ b/tools/lib/bpf/str_error.h | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: LGPL-2.1 | ||
| 2 | #ifndef BPF_STR_ERROR | ||
| 3 | #define BPF_STR_ERROR | ||
| 4 | |||
| 5 | char *str_error(int err, char *dst, int len); | ||
| 6 | #endif // BPF_STR_ERROR | ||
