aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel/perf/musl-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'package/devel/perf/musl-compat.h')
-rw-r--r--package/devel/perf/musl-compat.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/package/devel/perf/musl-compat.h b/package/devel/perf/musl-compat.h
index d0fa7810fa..458915d5eb 100644
--- a/package/devel/perf/musl-compat.h
+++ b/package/devel/perf/musl-compat.h
@@ -4,7 +4,6 @@
#ifndef __ASSEMBLER__
#include <sys/ioctl.h>
-#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include <syscall.h>
@@ -16,16 +15,6 @@
#undef _IOC
#undef _IO
-/* Change XSI compliant version into GNU extension hackery */
-static inline char *
-gnu_strerror_r(int err, char *buf, size_t buflen)
-{
- if (strerror_r(err, buf, buflen))
- return NULL;
- return buf;
-}
-#define strerror_r gnu_strerror_r
-
#define _SC_LEVEL1_DCACHE_LINESIZE -1
static inline long sysconf_wrap(int name)