diff options
author | наб <nabijaczleweli@nabijaczleweli.xyz> | 2022-11-26 00:48:54 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2023-01-08 18:22:10 +0100 |
commit | 67bc7fe640bed8b8fa8006c9152442023928b756 (patch) | |
tree | 0d5cb1fc65c1d2de3c70e8d698e0b0f0f58bea78 /pcp | |
parent | aa48120a160b1eadf7d87e46385767cec5392c8f (diff) |
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
Diffstat (limited to 'pcp')
-rw-r--r-- | pcp/Platform.c | 6 | ||||
-rw-r--r-- | pcp/Platform.h | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/pcp/Platform.c b/pcp/Platform.c index 521e5f11..d1bd0bc4 100644 --- a/pcp/Platform.c +++ b/pcp/Platform.c @@ -669,12 +669,6 @@ char* Platform_getProcessEnv(pid_t pid) { return value.cp; } -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/pcp/Platform.h b/pcp/Platform.h index dc51c736..f06f2266 100644 --- a/pcp/Platform.h +++ b/pcp/Platform.h @@ -98,8 +98,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); void Platform_getPressureStall(const char* file, bool some, double* ten, double* sixty, double* threehundred); |