powerpc: Fix ifuncmain6pie failure with GCC 4.9
[platform/upstream/glibc.git] / gshadow / getsgnam_r.c
index c89fb06..5061d6f 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2015 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2009.
 
@@ -13,9 +13,8 @@
    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 <gshadow.h>
 
@@ -26,5 +25,9 @@
 #define ADD_PARAMS             const char *name
 #define ADD_VARIABLES          name
 #define BUFLEN                 1024
+#define NO_COMPAT_NEEDED       1
+
+/* There is no nscd support for the shadow file.  */
+#undef USE_NSCD
 
 #include "../nss/getXXbyYY_r.c"