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 --- unsupported/Platform.c | 6 ------ unsupported/Platform.h | 2 -- 2 files changed, 8 deletions(-) (limited to 'unsupported') diff --git a/unsupported/Platform.c b/unsupported/Platform.c index 33d7c415..fcccb21a 100644 --- a/unsupported/Platform.c +++ b/unsupported/Platform.c @@ -129,12 +129,6 @@ char* Platform_getProcessEnv(pid_t pid) { return NULL; } -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/unsupported/Platform.h b/unsupported/Platform.h index 69191e35..f475dda4 100644 --- a/unsupported/Platform.h +++ b/unsupported/Platform.h @@ -50,8 +50,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