This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/17665] New: Excess declarations in unistd.h for XPG3/XPG4


https://sourceware.org/bugzilla/show_bug.cgi?id=17665

            Bug ID: 17665
           Summary: Excess declarations in unistd.h for XPG3/XPG4
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
                CC: drepper.fsp at gmail dot com

For XPG3/XPG4 (defined __USE_XOPEN && !defined __USE_UNIX98), unistd.h declares
many functions that should only be declared for __USE_MISC (none of them are in
XPG4): sethostname sethostid getdomainname setdomainname vhangup revoke profil
acct getusershell endusershell setusershell daemon.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]