aboutsummaryrefslogtreecommitdiff
path: root/lib/linux-isnptl.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-01-19 21:10:11 -0500
committerRuss Cox <rsc@swtch.com>2020-01-19 23:04:58 -0500
commitcb8f7357867a2a5d0bd742ceeb77bce9ad5f435c (patch)
treee21e8faaa68f8df48632973444a664f582de719a /lib/linux-isnptl.c
parent8d82ccefd2b4b058e20ae0a7e3d9ef9b6b8cf8c3 (diff)
downloadplan9port-cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c.tar.gz
plan9port-cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c.tar.bz2
plan9port-cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c.zip
all: remove Linux 2.4 vs 2.6 detection
Linux 2.4 is dead. (The libthread code hasn't worked for Linux 2.4 for a long time.)
Diffstat (limited to 'lib/linux-isnptl.c')
-rw-r--r--lib/linux-isnptl.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/linux-isnptl.c b/lib/linux-isnptl.c
deleted file mode 100644
index e4c23c63..00000000
--- a/lib/linux-isnptl.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <pthread.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <stdio.h>
-
-int
-main(void)
-{
- ulong x;
-
- x = (ulong)pthread_self();
- printf("%lx\n", x);
- if(x < 1024*1024)
- exit(1); /* NOT NPTL */
- exit(0);
-}