]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - grp/getgrgid_r.c
support: Expose sbindir as support_sbindir_prefix
[thirdparty/glibc.git] / grp / getgrgid_r.c
index d46fb0fcac3fc400c0c7b611db13b9226b5a5352..eb0e53bca87d19c4d75b63307a6fd5f62506c6f7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <grp.h>
 
+#include <grp-merge.h>
 
 #define LOOKUP_TYPE    struct group
 #define FUNCTION_NAME  getgrgid
@@ -26,5 +26,7 @@
 #define ADD_PARAMS     gid_t gid
 #define ADD_VARIABLES  gid
 #define BUFLEN         NSS_BUFLEN_GROUP
+#define DEEPCOPY_FN    __copy_grp
+#define MERGE_FN       __merge_grp
 
 #include <nss/getXXbyYY_r.c>