<unistd.h>: Move setpgrp() to __BSD_VISIBLE.
authorSascha Wildner <saw@online.de>
Thu, 21 Nov 2019 08:56:35 +0000 (09:56 +0100)
committerSascha Wildner <saw@online.de>
Thu, 21 Nov 2019 08:56:35 +0000 (09:56 +0100)
commitee5bd763dfeeb291a94415933e60ca88d0aba830
treea49d32d3c58574ebe7a9cd4ed13bc9d6b810a0a4
parentf2d000ee82f1e3a6b684c9bbbf69b78a3a3680ce
<unistd.h>: Move setpgrp() to __BSD_VISIBLE.

POSIX' setpgrp() has a different prototype than the BSD version. While
the former takes no arguments, the latter takes two pid_t's. Both
versions are also obsolete.

So just move our BSD specific one to __BSD_VISIBLE and keep it for
backward compatibility.
include/unistd.h