Skip to content

Remove unneeded functions #745

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions src/utils/utils_macosx_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,31 +90,3 @@ int utils_shm_unlink(const char *shm_name) {
int utils_create_anonymous_fd(void) {
return 0; // ignored on MacOSX
}

int os_get_file_size(int fd, size_t *size) {
(void)fd; // unused
(void)size; // unused
return -1; // not supported on MacOSX
}

int os_set_file_size(int fd, size_t size) {
(void)fd; // unused
(void)size; // unused
return 0; // ignored on MacOSX
}

void *os_devdax_mmap(void *hint_addr, size_t length, int prot, int fd) {
(void)hint_addr; // unused
(void)length; // unused
(void)prot; // unused
(void)fd; // unused
return NULL; // not supported on Windows
}

int os_fallocate(int fd, long offset, long len) {
(void)fd; // unused
(void)offset; // unused
(void)len; // unused

return -1;
}
Loading