summaryrefslogtreecommitdiffstats
path: root/kernel/tests/include/lapi/readlinkat.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tests/include/lapi/readlinkat.h')
-rw-r--r--kernel/tests/include/lapi/readlinkat.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/kernel/tests/include/lapi/readlinkat.h b/kernel/tests/include/lapi/readlinkat.h
deleted file mode 100644
index 5a3a7b2..0000000
--- a/kernel/tests/include/lapi/readlinkat.h
+++ /dev/null
@@ -1,20 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- * Copyright (c) 2014 Cyril Hrubis <chrubis@suse.cz>
- */
-
-#ifndef __READLINKAT_H__
-#define __READLINKAT_H__
-
-#include "config.h"
-#include "lapi/syscalls.h"
-#include "lapi/fcntl.h"
-
-#ifndef HAVE_READLINKAT
-int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz)
-{
- return ltp_syscall(__NR_readlinkat, dirfd, pathname, buf, bufsiz);
-}
-#endif
-
-#endif /* __READLINKAT_H__ */