From 67bc7fe640bed8b8fa8006c9152442023928b756 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Sat, 26 Nov 2022 00:48:54 +0100 Subject: Clean out Platform_getInodeFilename It's an artefact of the previous implementation of Platform_getProcessLocks for Linux, and is never used; there's no reason for it to have ever been exported --- netbsd/Platform.c | 6 ------ netbsd/Platform.h | 2 -- 2 files changed, 8 deletions(-) (limited to 'netbsd') diff --git a/netbsd/Platform.c b/netbsd/Platform.c index 326458f0..e2f8c880 100644 --- a/netbsd/Platform.c +++ b/netbsd/Platform.c @@ -338,12 +338,6 @@ end: return env; } -char* Platform_getInodeFilename(pid_t pid, ino_t inode) { - (void)pid; - (void)inode; - return NULL; -} - FileLocks_ProcessData* Platform_getProcessLocks(pid_t pid) { (void)pid; return NULL; diff --git a/netbsd/Platform.h b/netbsd/Platform.h index f2e5823d..0e53b457 100644 --- a/netbsd/Platform.h +++ b/netbsd/Platform.h @@ -65,8 +65,6 @@ void Platform_setSwapValues(Meter* this); char* Platform_getProcessEnv(pid_t pid); -char* Platform_getInodeFilename(pid_t pid, ino_t inode); - FileLocks_ProcessData* Platform_getProcessLocks(pid_t pid); bool Platform_getDiskIO(DiskIOData* data); -- cgit v1.2.3