Skip to content

Commit

Permalink
Revert "posix: procN: add missing alias for getpid()"
Browse files Browse the repository at this point in the history
This reverts commit be086f1.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
  • Loading branch information
aescolar authored and DashingR committed Jul 15, 2024
1 parent 81f656b commit 6638a95
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/posix/options/multi_process.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,3 @@ pid_t getpid(void)

return 42;
}
#ifdef CONFIG_POSIX_MULTI_PROCESS_ALIAS_GETPID
FUNC_ALIAS(getpid, _getpid, pid_t);
#endif /* CONFIG_POSIX_MULTI_PROCESS_ALIAS_GETPID */

0 comments on commit 6638a95

Please sign in to comment.