summaryrefslogtreecommitdiff
path: root/src/shared/missing.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2015-04-08 11:08:16 +0200
committerAndy Wingo <wingo@pobox.com>2015-04-08 11:08:16 +0200
commit7b061de2d0601a33f7246c4b909f30ddc44d7ab6 (patch)
tree6b6378f2b4a2499b274ca1fd8c154554635e8156 /src/shared/missing.h
parent679327ab991edd0a13a0cff335ea5c9c8a7ef705 (diff)
Compiling.
Diffstat (limited to 'src/shared/missing.h')
-rw-r--r--src/shared/missing.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index ca670cea43..4abd0232f8 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -930,13 +930,3 @@ static inline int renameat2(int oldfd, const char *oldname, int newfd, const cha
#ifndef RENAME_NOREPLACE
#define RENAME_NOREPLACE (1 << 0)
#endif
-
-#if !HAVE_DECL_KCMP
-static inline int kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2) {
- return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2);
-}
-#endif
-
-#ifndef KCMP_FILE
-#define KCMP_FILE 0
-#endif