From ce101131b7ccb0c2c132e87d4ece5a5e6527edab Mon Sep 17 00:00:00 2001 From: William Cohen Date: Tue, 22 Mar 2011 15:04:41 -0400 Subject: Remove unused _gettid() --- memstomp.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'memstomp.c') 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); -- cgit