]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nscd/getgrgid_r.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / nscd / getgrgid_r.c
index 5b433321b5c59fbd0c52abb7f2c102e803a12514..92f370ee6c700d55c8948f9d8048f20d646ab32c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2020 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
+   along with this program; if not, see <https://www.gnu.org/licenses/>.  */
 
 #include <grp.h>
 
+#include <grp-merge.h>
 
 #define LOOKUP_TYPE    struct group
 #define FUNCTION_NAME  getgrgid
@@ -25,6 +26,9 @@
 #define ADD_VARIABLES  gid
 #define BUFLEN         NSS_BUFLEN_GROUP
 
+#define DEEPCOPY_FN    __copy_grp
+#define MERGE_FN       __merge_grp
+
 /* We are nscd, so we don't want to be talking to ourselves.  */
 #undef USE_NSCD