s3: readd h_errno struct member but rename it
authorBjörn Jacke <bj@sernet.de>
Thu, 10 Jun 2010 21:15:19 +0000 (23:15 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Jul 2012 18:08:12 +0000 (20:08 +0200)
as pointed out by metze this is a structure of fixed size, which should not be
changed.
(cherry picked from commit a8c051b2f91852b5228d6a903d6a7fd50d22de28)

Second part of a fix for bug #9011 (Build on HP-UX broken).
(cherry picked from commit 7a56042642409556c492cadd49772bb70fbd974d)

nsswitch/winbind_nss_hpux.h

index 393c0a35dba7c50afd0414d83e141be601477db6..dba70a7657a5a6b60ca2df31b7773231137ea569 100644 (file)
@@ -133,9 +133,9 @@ typedef struct nss_XbyY_args {
        /*
        *  h_errno is defined as function call macro for multithreaded applications
        *  in HP-UX. *this* h_errno is not used in the HP-UX codepath of our nss
-       *  modules, so let's simply comment it out here:
-       * int h_errno;
+       *  modules, so let's simply rename it:
        */
+       int h_errno_unused;
        nss_status_t status;
 } nss_XbyY_args_t;