Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 0 additions & 4 deletions lib/posix/options/grp.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
#include <zephyr/sys/util.h>
#include <zephyr/posix/grp.h>

#ifdef CONFIG_POSIX_THREAD_SAFE_FUNCTIONS

int getgrnam_r(const char *name, struct group *grp, char *buffer, size_t bufsize,
struct group **result)
{
Expand All @@ -33,5 +31,3 @@ int getgrgid_r(gid_t gid, struct group *grp, char *buffer, size_t bufsize, struc

return ENOSYS;
}

#endif /* CONFIG_POSIX_THREAD_SAFE_FUNCTIONS */
4 changes: 0 additions & 4 deletions lib/posix/options/pwd.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
#include <zephyr/sys/util.h>
#include <zephyr/posix/pwd.h>

#ifdef CONFIG_POSIX_THREAD_SAFE_FUNCTIONS

int getpwnam_r(const char *nam, struct passwd *pwd, char *buffer, size_t bufsize,
struct passwd **result)
{
Expand All @@ -33,5 +31,3 @@ int getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, stru

return ENOSYS;
}

#endif /* CONFIG_POSIX_THREAD_SAFE_FUNCTIONS */