summaryrefslogtreecommitdiffstats
path: root/memstomp.c
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2011-03-22 15:04:41 -0400
committerWilliam Cohen <wcohen@redhat.com>2011-03-22 15:04:41 -0400
commitce101131b7ccb0c2c132e87d4ece5a5e6527edab (patch)
tree2d8e4ae8278c6ca767cc1e7a17b48fffbc3f3710 /memstomp.c
parent47efacb37005de907faa17d00511fe35da1aec22 (diff)
downloadmemstomp-ce101131b7ccb0c2c132e87d4ece5a5e6527edab.tar.gz
memstomp-ce101131b7ccb0c2c132e87d4ece5a5e6527edab.tar.xz
memstomp-ce101131b7ccb0c2c132e87d4ece5a5e6527edab.zip
Remove unused _gettid()
Diffstat (limited to 'memstomp.c')
-rw-r--r--memstomp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/memstomp.c b/memstomp.c
index 72817d8..69faeaa 100644
--- a/memstomp.c
+++ b/memstomp.c
@@ -77,10 +77,6 @@ static volatile bool initialized = false;
static void setup(void) __attribute ((constructor));
static void shutdown(void) __attribute ((destructor));
-static pid_t _gettid(void) {
- return (pid_t) syscall(SYS_gettid);
-}
-
static const char *get_prname(char prname[17]) {
int const r = prctl(PR_GET_NAME, prname);
assert(r == 0);