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 --- darwin/Platform.c | 6 ------ darwin/Platform.h | 2 -- 2 files changed, 8 deletions(-) (limited to 'darwin') diff --git a/darwin/Platform.c b/darwin/Platform.c index 963d526d..e9d6caab 100644 --- a/darwin/Platform.c +++ b/darwin/Platform.c @@ -344,12 +344,6 @@ char* Platform_getProcessEnv(pid_t pid) { 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/darwin/Platform.h b/darwin/Platform.h index 3fd46add..66362072 100644 --- a/darwin/Platform.h +++ b/darwin/Platform.h @@ -68,8 +68,6 @@ void Platform_setZfsCompressedArcValues(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