git: <unistd.h>: Move setpgrp() to __BSD_VISIBLE.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Nov 21 00:56:44 PST 2019


commit ee5bd763dfeeb291a94415933e60ca88d0aba830
Author: Sascha Wildner <saw at online.de>
Date:   Thu Nov 21 09:56:35 2019 +0100

    <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.

Summary of changes:
 include/unistd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ee5bd763dfeeb291a94415933e60ca88d0aba830


-- 
DragonFly BSD source repository



More information about the Commits mailing list